Bug in Mailman version 2.1.23

foncho

Member
Mar 9, 2006
6
0
151
When i login in admin interfase i receive this error:
Code:
Bug in Mailman version 2.1.23

We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs
--------

i did create other list to test but this bug remains

--------
In error log:



-------

What is the problem? How can i reinstall mailman? the script: /scripts/reinstallmailman is not longer exist in WHM 60.0 (build 35)

--------
Log:

Code:
admin(4828): [----- Mailman Version: 2.1.23 -----]
admin(4828): [----- Traceback ------]
admin(4828): Traceback (most recent call last):
admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/scripts/driver", line 117, in run_main
admin(4828):     main()
admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/admin.py", line 245, in main
admin(4828):     mlist.Save()
admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 607, in Save
admin(4828):     self.CheckHTMLArchiveDir()
admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line 241, in CheckHTMLArchiveDir
admin(4828):     makelink(privdir, pubdir)
admin(4828):   File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line 49, in makelink
admin(4828):     os.symlink(old, new)
admin(4828): OSError: [Errno 2] No such file or directory
admin(4828): [----- Python Information -----]
admin(4828): sys.version     =   2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
admin(4828): sys.executable  =   /usr/bin/python
admin(4828): sys.prefix      =   /usr
admin(4828): sys.exec_prefix =   /usr
admin(4828): sys.path        =   ['/usr/local/cpanel/3rdparty/mailman/pythonlib', '/usr/local/cpanel/3rdparty/mailman', '/usr/local/cpanel/3rdparty/mailman/scripts', '/usr/local/cpanel/3rdparty/mailman', '/usr/lib64/python26.zip', '/usr/lib64/python2.6/', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages']
admin(4828): sys.platform    =   linux2
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

Please let us know if the following command helps:

Code:
/scripts/fixmailman
Thank you.
 

foncho

Member
Mar 9, 2006
6
0
151
Michael, i ran the script, output here:

Code:
# /scripts/fixmailman
Setting mailman archive permissions.
Setting mailman lists permissions.
Purging mailman queue.
Error while trying to enter still appears.

thanks
 

foncho

Member
Mar 9, 2006
6
0
151
Michael,

In WHM > RPM software Install , i try install mailman but i get error 500.

How can i reinstall mailman?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
How can i reinstall mailman?
Hello,

The following command will prompt you to install the required packages if the existing mailman RPMs were removed or altered:

Code:
/usr/local/cpanel/scripts/check_cpanel_rpms
Feel free to open a support ticket using the link in my signature if the issue continues so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

foncho

Member
Mar 9, 2006
6
0
151
Michael, the bug is still here, some other suggestion.

---
Code:
# /usr/local/cpanel/scripts/check_cpanel_rpms
#
---

I did go to admin dashboard, when login:

Bug in Mailman version 2.1.23
We're sorry, we hit a bug!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello @foncho,

Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
We're seeing some similar issues. Was there a solution?
Could you verify if the issue persists after running the below commands?

Code:
/scripts/fixmailman
/scripts/restartsrv_mailman --stop
/scripts/restartsrv_mailman --start
Thank you.
 

jndawson

Well-Known Member
Aug 27, 2014
303
32
78
Western US
cPanel Access Level
DataCenter Provider
Could you verify if the issue persists after running the below commands?

Code:
/scripts/fixmailman
/scripts/restartsrv_mailman --stop
/scripts/restartsrv_mailman --start
Thank you.
Yes, we did that several times; still issues.
Customer has 2 issues: Gets the 'We're sorry we hit a bug' page when trying to manage/delete pending moderator requests, and no list posts are being archived, even though all the archiving settings are correct.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
We've opened a support ticket:
8276977
Hello,

To update, it looks like this was due to the existence of a "public" archive directory, instead of it existing as a symlink to the corresponding private archive directory.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello @noctur,

In that particular ticket, /usr/local/cpanel/3rdparty/mailman/archives/public/$list_name existed as a directory instead of as as symbolic link to the private archive location (/usr/local/cpanel/3rdparty/mailman/archives/private/$list_name/).

However, there are several potential causes of the issue. It's a good idea to open a support ticket so we can take a closer look if you are facing the same error message.

Thank you.
 

stevenvsi

Member
Sep 20, 2014
7
0
1
cPanel Access Level
Root Administrator
Hi,

I have the same issue.
Should a private mailing list have a symb link into the :
/usr/local/cpanel/3rdparty/mailman/archives/public/
directory?

Regards,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello @stevenvsi,

I'm happy to see you were able to address the issue.

Should a private mailing list have a symb link into the :
/usr/local/cpanel/3rdparty/mailman/archives/public/
directory?
No, the symbolic link is generated when creating a public mailing list. When this happens, a symbolic link is created within "/usr/local/cpanel/3rdparty/mailman/archives/public" for the newly created mailing list, linking to it's actual location in the private directory.

Thank you.