We are running mailman 3.x in a venv setup using Postgresql. The mailman service hangs during startup and eventually fails with a timeout:
# systemctl status mailman3 × mailman3.service - GNU Mailing List Manager Loaded: loaded (/etc/systemd/system/mailman3.service; enabled; preset: disabled) Active: failed (Result: timeout) since Wed 2024-06-12 13:35:23 UTC; 11s ago Process: 1205 ExecStart=/opt/mailman/venv/bin/mailman start (code=killed, signal=TERM) CPU: 1.019s
Jun 12 13:33:53 <hostname> systemd[1]: Starting GNU Mailing List Manager... Jun 12 13:35:23 <hostname>systemd[1]: mailman3.service: start operation timed out. Terminating. Jun 12 13:35:23 <hostname> systemd[1]: mailman3.service: Failed with result 'timeout'. Jun 12 13:35:23 <hostname> systemd[1]: Failed to start GNU Mailing List Manager. Jun 12 13:35:23 <hostname> systemd[1]: mailman3.service: Consumed 1.019s CPU time.
Searching I found some similar reports where it seemed to be an issue with a stale .lck lock file. But on our system:
- /var/lib/mailman is empty
- /opt/mailman/mm/var/locks is empty
The last entries in /opt/mailman/mm/var/logs/mailman.log is:
2024-06-12 09:23:44 -0400] [2101411] [INFO] Handling signal: term Jun 12 13:23:44 2024 (2101395) Master watcher caught SIGTERM. Exiting. [2024-06-12 13:23:44 +0000] [2101451] [INFO] Worker exiting (pid: 2101451) Jun 12 09:23:44 2024 (2101412) retry runner caught SIGTERM. Stopping. [2024-06-12 13:23:44 +0000] [2101450] [INFO] Worker exiting (pid: 2101450) Jun 12 09:23:44 2024 (2101408) nntp runner caught SIGTERM. Stopping. [2024-06-12 09:23:48 -0400] [2101411] [INFO] Shutting down: Master Jun 12 13:23:50 2024 (2101395) Master stopped
Any help would be appreciated.
Postgres appears to be up., Postfix is up, nginx is up.
The web UI gives me the error:
Something went wrong Mailman REST API not available. Please start Mailman core.
Running "mailman version" hangs for a long time and then returns:
$ mailman version GNU Mailman 3.3.9 (Tom Sawyer)
Running "mailman status" hangs for a long time and then returns:
$ mailman status GNU Mailman is not running
What other logs can be checked for more detail? What possible services or file/dir permissions may have had something changed by the OS updates?
Thanks, David Goldsmith