cPanel

Maiman not starting in cPanel server

Maiman not starting
Maiman not starting

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:

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

Topics