Starting mailman services error

klereson

Member
Nov 24, 2009
9
0
51
Hello,

I'm having trouble starting the "mailman" services.

=========
[root]# /usr/local/cpanel/scripts/restartsrv_mailman
Waiting for “mailman” to start ……info [restartsrv_mailman] systemd failed to start the service “mailman” (The “/usr/bin/systemctl restart mailman.service --no-ask-password” command (process 1643399) reported error number 1 when it ended.): Job for mailman.service failed because the control process exited with error code.
See "systemctl status mailman.service" and "journalctl -xe" for details.

…Waiting for mailman,qrunner to shutdown ... not running.
info [restartsrv_mailman] systemd failed to start the service “mailman” (The “/usr/bin/systemctl restart mailman.service --no-ask-password” command (process 1643410) reported error number 1 when it ended.): Job for mailman.service failed because the control process exited with error code.
See "systemctl status mailman.service" and "journalctl -xe" for details.

…failed.

Cpanel::Exception::Services::StartError
Service Status
undefined status from Cpanel::ServiceManager::Services::Mailman

Service Error
(XID ghnpsc) The “mailman” service failed to start.

Startup Log
Dec 12 15:24:20 ns1.mailworld.com.br systemd[1]: Starting mailman services...
Dec 12 15:24:21 ns1.mailworld.com.br restartsrv_mailman[1643411]: Site list is missing: mailman
Dec 12 15:24:21 ns1.mailworld.com.br systemd[1]: mailman.service: Control process exited, code=exited status=1
Dec 12 15:24:21 ns1.mailworld.com.br systemd[1]: mailman.service: Failed with result 'exit-code'.
Dec 12 15:24:21 ns1.mailworld.com.br systemd[1]: Failed to start mailman services.

mailman has failed. Contact your system administrator if the service does not automagically recover.
=================

Has anyone had an error similar to this and can help with a solution?

Thank you.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,241
2,217
363
cPanel Access Level
Root Administrator
Hey there! Did you check the log files that the error indicated? "See "systemctl status mailman.service" and "journalctl -xe" for details."

Those two commands should give you more information as to why it failed on your machine.
 

klereson

Member
Nov 24, 2009
9
0
51
Hello,

# systemctl status mailman.service

● mailman.service - mailman services
Loaded: loaded (/etc/systemd/system/mailman.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2022-12-12 18:50:29 -04; 38s ago
Process: 1785813 ExecStart=/usr/local/cpanel/scripts/restartsrv_mailman --no-verbose --notconfigured-ok (code=exited, status=1/FAILURE)

Dec 12 18:50:29 ns1.mailworld.com.br systemd[1]: Starting mailman services...
Dec 12 18:50:29 ns1.mailworld.com.br restartsrv_mailman[1785813]: Site list is missing: mailman
Dec 12 18:50:29 ns1.mailworld.com.br systemd[1]: mailman.service: Control process exited, code=exited status=1
Dec 12 18:50:29 ns1.mailworld.com.br systemd[1]: mailman.service: Failed with result 'exit-code'.
Dec 12 18:50:29 ns1.mailworld.com.br systemd[1]: Failed to start mailman services.

====== END =====

# journalctl -xe

Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: Starting mailman services...
-- Subject: Unit mailman.service has begun start-up
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has begun starting up.
Dec 12 18:48:57 ns1.mailworld.com.br restartsrv_mailman[1784663]: Site list is missing: mailman
Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: mailman.service: Control process exited, code=exited status=1
Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: mailman.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- The unit mailman.service has entered the 'failed' state with result 'exit-code'.
Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: Failed to start mailman services.
-- Subject: Unit mailman.service has failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has failed.
--
-- The result is failed.
Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: Starting mailman services...
-- Subject: Unit mailman.service has begun start-up
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has begun starting up.
Dec 12 18:48:57 ns1.mailworld.com.br restartsrv_mailman[1784672]: Site list is missing: mailman
Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: mailman.service: Control process exited, code=exited status=1
Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: mailman.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- The unit mailman.service has entered the 'failed' state with result 'exit-code'.
Dec 12 18:48:57 ns1.mailworld.com.br systemd[1]: Failed to start mailman services.
-- Subject: Unit mailman.service has failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has failed.

============ END =========

I've already searched here on the forum, but I couldn't find any content that would help me solve.

Thank you.
 

klereson

Member
Nov 24, 2009
9
0
51
Hello,

I just did the procedures according to the link you gave me, even so it continues to give an error and does not start.

=======
Dec 13 13:49:21 ns1.mailworld.com.br systemd[1]: Starting mailman services...
-- Subject: Unit mailman.service has begun start-up
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has begun starting up.
Dec 13 13:49:21 ns1.mailworld.com.br restartsrv_mailman[2452104]: Site list is missing: mailman
Dec 13 13:49:21 ns1.mailworld.com.br systemd[1]: mailman.service: Control process exited, code=exited status=1
Dec 13 13:49:21 ns1.mailworld.com.br systemd[1]: mailman.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- The unit mailman.service has entered the 'failed' state with result 'exit-code'.
Dec 13 13:49:21 ns1.mailworld.com.br systemd[1]: Failed to start mailman services.
-- Subject: Unit mailman.service has failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has failed.
--
-- The result is failed.
Dec 13 13:49:22 ns1.mailworld.com.br systemd[1]: Starting mailman services...
-- Subject: Unit mailman.service has begun start-up
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has begun starting up.
Dec 13 13:49:22 ns1.mailworld.com.br restartsrv_mailman[2452113]: Site list is missing: mailman
Dec 13 13:49:22 ns1.mailworld.com.br systemd[1]: mailman.service: Control process exited, code=exited status=1
Dec 13 13:49:22 ns1.mailworld.com.br systemd[1]: mailman.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- The unit mailman.service has entered the 'failed' state with result 'exit-code'.
Dec 13 13:49:22 ns1.mailworld.com.br systemd[1]: Failed to start mailman services.
-- Subject: Unit mailman.service has failed
-- Defined-By: systemd
-- Support: Red Hat Customer Experience & Engagement - Red Hat Customer Portal
--
-- Unit mailman.service has failed.
--
-- The result is failed.
=====================

Thank you.