Reply To: RE: Postfix

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

    kbohannon
    Participant
    Posted by: @kbohannon

    On several of my 2.3.8.1 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 client.domain.net postfix/postfix-script[11614]: starting the Postfix mail system
    Oct 24 13:46:18 client.domain.net 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 client.domain.net postfix/master[11615]: fatal: daemon initialization failure
    Oct 24 13:46:20 client.domain.net postfix/postfix-script[11621]: fatal: mail system startup failed
    Oct 24 13:46:20 client.domain.net systemd[1]: postfix.service: control process exited, code=exited status=1
    Oct 24 13:46:20 client.domain.net 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?

    0