CPANEL-43077 - How to stop mailman???
Does anyone know how to stop mailman from running on startup? I want it off. I turned it off in services in WHM. it never runs properly:
main(/temp): systemctl status mailman.service
? mailman.service - mailman services
Loaded: loaded (/etc/systemd/system/mailman.service; disabled; vendor preset: disabled)
Active: failed (Result: protocol) since Tue 2023-07-18 08:21:33 EDT; 1min 41s ago
Process: 931 ExecStart=/usr/local/cpanel/scripts/restartsrv_mailman --no-verbose --notconfigured-ok (code=exited, status=0/SUCCESS)
I have done a "systemctl disable mailman" but it keeps trying to run on startup. how to I kill this? I'm running the latest version of cPanel/WHM 112.0.5 on AlmaLinux 8.8.
This error on startup:
-
In WHM->Server Configuration->Tweak Settings->Mail-> Enable Mailman mailing lists => OFF 0 -
In WHM->Server Configuration->Tweak Settings->Mail-> Enable Mailman mailing lists => OFF
yes, I did that too. its all off. but keeps trying to run on startup.0 -
How about in Service Manager? untick both options there. 0 -
How about in Service Manager? untick both options there.
yes, off there too.0 -
Try "chkconfig mailman off" then reboot. 0 -
Try "chkconfig mailman off" then reboot.
didn't help. I did: main(/temp): chkconfig mailman off Note: Forwarding request to 'systemctl disable mailman.service'. Then rebooted but it still tries to run it. /var/log/message always gives: Jul 19 11:52:31 main restartsrv_mailman[923]: (XID megfvx) The "mailman" service is not configured: there are no configured mailing lists Jul 19 11:52:31 main systemd[1]: mailman.service: Can't open PID file /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid (yet?) after start: No such file or directory Jul 19 11:52:31 main systemd[1]: mailman.service: Failed with result 'protocol'. Jul 19 11:52:31 main systemd[1]: Failed to start mailman services.0 -
@cPRex: could be a bug? 0 -
probably is I guess. 0 -
@Scott Galambos - can you let me know the OS and cPanel version so I can test this? 0 -
@Scott Galambos - can you let me know the OS and cPanel version so I can test this?
AlmaLinux v8.8.0 STANDARD cPanel Version112.0.5 everything works great, just mailman keeps trying to run. not a big deal, just annoying.0 -
Thanks for that. I setup a test server and disabled Mailman through WHM >> Service Manager: Saving Changes to mailman (disabled)... ...Done
and then performed a server reboot. I see the same thing as you:Jul 20 14:35:30 10-2-35-40 restartsrv_mailman[604]: (XID vep6vn) The "mailman" service is not configured: there are no configured mailing lists Jul 20 14:35:30 10-2-35-40 systemd[1]: mailman.service: Can't open PID file /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid (yet?) after start: No such file or directory Jul 20 14:35:30 10-2-35-40 systemd[1]: mailman.service: Failed with result 'protocol'. Jul 20 14:35:30 10-2-35-40 securetmp[695]: Creating journal inode: done Jul 20 14:35:30 10-2-35-40 securetmp[611]: Done Jul 20 14:35:30 10-2-35-40 systemd[1]: Failed to start mailman services.
I created case CPANEL-43077 with our developers so they can check this out, but it's fine to just ignore that output from the console log and /var/log/messages as it doesn't hurt anything.0
Please sign in to leave a comment.
Comments
11 comments