Maiman not starting in cPanel server
If the Maiman not starting in cPanel server and getting the following error, it may be bacause of the existing mailman lock files.
Traceback (most recent call last): File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 556, in <module> main() File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 391, in main lock = acquire_lock(force) File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 218, in acquire_lock status = qrunner_state() File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 187, in qrunner_state os.kill(pid, 0) OSError: [Errno 1] Operation not permitted
So in order to resolve this issue, move the existing lock file to another directory and restart mailman using the steps mentioned below:
mkdir /root/locks-mailman mv /usr/local/cpanel/3rdparty/mailman/locks/* /root/locks-mailman/ /scripts/restartsrv_mailman
It should fix the problem!
More Infomation about Mailman:
You can use the following commands to start and stop the mailman service:
To start:
/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl start
To stop:
/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl stop
Also, you can enable and disable mailman service from WHM too. Go to WHM >> Tweak Settings >> Enable Mailman mailing lists.
That’s it!
Read More:
- How to Install Python 3 in cPanel Server
- Disable Outgoing email of a cPanel Account
- Softaculous Showing Blank Page in cPanel WHM
- How to Combine Apache Access Logs in cPanel
- How to increase tmp directory size in cPanel
- How to install SimpleHelp on cPanel or Linux
- /usr/local/cpanel/bin/jailshell: /usr/bin/wget: Permission denied
- The list of default open ports in cPanel Server
- Disable 2 factor authentication via command line in cPanel
- How to install OAuth PHP module on cPanel
- Install wkhtmltopdf on cPanel or CentOS
- How to install Apache Ant on cPanel or CentOS
- How to Enable PostgreSQL Remote Access in cPanel
- How to backup and restore MongoDB database
- Find outdated versions of WordPress and Joomla on your server
- Disable cPHulk Brute Force Protection via SSH
- How to Install OpenVPN on CentOS and Derivatives
- How to avoid accidental deletion of files in Linux
- Useful GIT Commands
- How to enable GRE tunnel support in OpenVZ VPS
- Install GitLab on CentOS 7 and Derivatives
If you like the post Understanding top Command and wish to receive more articles from us, please like our FB page: GrepItOut
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments. For more details on our services, please drop us an E-mail at info@grepitout.com
Add Comment