Reply To: RE: Postfix

VitalPBX Community Support General Discussion Postfix Reply To: RE: Postfix

    Posted by: @kbohannon

    On several of my 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.

    journalctl -xe

    Oct 24 13:46:18 postfix/postfix-script[11614]: starting the Postfix mail system
    Oct 24 13:46:18 postfix/master[11616]: fatal: open lock file /var/lib/postfix/master.lock: unable to set exclusive lock: Resource temporarily unavailable
    Oct 24 13:46:19 postfix/master[11615]: fatal: daemon initialization failure
    Oct 24 13:46:20 postfix/postfix-script[11621]: fatal: mail system startup failed
    Oct 24 13:46:20 systemd[1]: postfix.service: control process exited, code=exited status=1
    Oct 24 13:46:20 systemd[1]: 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?

    Kerry Bohannon
    Amicus Voice, LLC