Dear Mark,
On 26/07/2023 17:03, Mark London wrote:
Hi - We had a power outage, and after my Ubuntu server rebooted , mailman 3 tried to start before mysql was running. I guess because it wasn't a clean reboot, the mysql server took much longer than normal to start, while checking databases. So mailman3 couldn't start. Normal reboots never had this problem. Should it have kept trying?
In any event, mailman3 core didn't start, but mailman3-web did start. But it wasn't very happy, of course. And any time someone tried to access the mailing list website, it would send me an error message. I had hundreds of such emails in the morning., that started with the one below.
Is there a way to configure my system to make sure this doesn't happen again? Thanks. - Mark
I had a similar problem and added the line
After=mysql.service
to the [Unit] section in /lib/systemd/system/mailman3.service to make sure mailman3 starts after mysql during reboots. Then I said
systemctl daemon-reload
to regenerate systemd dependencies.
But after Upgrading to Debian 11, this patch was somehow not necessary any more.
Roland