Symptoms
When attempting to view the Mailman archive pages or the administrative pages, you receive a 500 error, and an error similar to the following may be found in the cPanel error log:
CONFIG_TEXT: [2021-03-11 13:28:06 +0530] info [startmailman] systemd failed to start the service “mailman” (The “/usr/bin/systemctl restart mailman.service --no-ask-password” command (process 15734) reported error num
ber 1 when it ended.): Job for mailman.service canceled.
Cause
Incorrect permissions on Mailman files and directories are the most common cause of this issue. Removing the cpanel-mailman package from the RPM database and then reinstalling the package will correct the permissions.
Resolution
- Access the server's command line as the
rootuser via SSH or Terminal in WHM. - Remove the
cpanel-mailmanpackage:RHEL-based systems:
# rpm -e --justdb --nodeps cpanel-mailman
Note: The RPM command does not actually remove the
cpanel-mailmanpackage; it only removes the package from the RPM database.Ubuntu
# apt remove cpanel-mailman -y
Reinstall the
cpanel-mailmanpackage:# /usr/local/cpanel/scripts/check_cpanel_pkgs --fix --targets=mailman
Comments
0 comments
Article is closed for comments.