In cPanel >> Mailing Lists >> Modify
Getting the follwing error
*******************************************************************************************************
Bug in Mailman version 2.1.9.cp2
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.
***********************************************************************************************************
Errors seen in error log of mailman
vi /usr/local/cpanel/3rdparty/mailman/logs/error
**********************************************************************************************************
self._parsebody(root, fp, firstbodyline)
File “/usr/local/cpanel/3rdparty/mailman/pythonlib/email/Parser.py”, line 265, in _parsebody
msg = self.parse(fp)
File “/usr/local/cpanel/3rdparty/mailman/pythonlib/email/Parser.py”, line 64, in parse
self._parsebody(root, fp, firstbodyline)
File “/usr/local/cpanel/3rdparty/mailman/pythonlib/email/Parser.py”, line 206, in _parsebody
raise Errors.BoundaryError(
BoundaryError: No terminating boundary and no trailing empty line
*********************************************************************************************************
Resolution :
/scripts/fixmailman /usr/local/cpanel/3rdparty/bin/check_db /usr/local/cpanel/3rdparty/bin/check_perms /scripts/reinstallmailman chmod 02775 -R /usr/local/cpanel/3rdparty/mailman/
Also once the problem solved by changing the list language
Problem resolution if the above fix won’t work
The latest Mailman have some bugs. It need Python version of 2.4.6 at least. But in your centos4/RHEL4 servers the python version is 2.4.3. So for fixing the mail man issue you need to upgrade the python without breaking Yum and other python modules.
It is little difficult for upgrading Python in cpanel servers. Because if you upgrade python directly , the yum package manager will not work. So you need to reinstall all old rpms again.
Please proceed with the following for upgrading Python
1) Download and install python 2.4.6
# cd /usr/local/src/
# wget http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tgz
# tar -xvzf Python-2.4.6.tgz
# cd Python-2.4.6/
# ./configure –prefix=/usr/local/python.2.4.6/
# make
# make install
2) Configure cpanel for latest Python as follows
# grep python /var/cpanel/cpanel.config
#python=/usr/local/bin/python2.4
python=/usr/local/python.2.4.6/bin/python2.4
3) Now reinstall Mailman
# /scripts/reinstallmailman
This will fix your issue
Recent Comments