Posted by: @kbohannon
- October 24, 2019 at 7:18 pm
On several of my 184.108.40.206 servers postscript just stops. I try to start it but it fails. A reboot usually works. Changing permissions to 755 on /var/lib/postfix/master.lock doesn’t help.
Oct 24 13:46:18 client.domain.net postfix/postfix-script: starting the Postfix mail system
Oct 24 13:46:18 client.domain.net postfix/master: fatal: open lock file /var/lib/postfix/master.lock: unable to set exclusive lock: Resource temporarily unavailable
Oct 24 13:46:19 client.domain.net postfix/master: fatal: daemon initialization failure
Oct 24 13:46:20 client.domain.net postfix/postfix-script: fatal: mail system startup failed
Oct 24 13:46:20 client.domain.net systemd: postfix.service: control process exited, code=exited status=1
Oct 24 13:46:20 client.domain.net systemd: Failed to start Postfix Mail Transport Agent.
— Subject: Unit postfix.service has failed
Update. Just killing postfix via kill -9 $(pgrep master) then lets me start postfix. Should I include this in a script I have running daily to start postfix in case it isn’t running?0