Postfix

  • Post
    kbohannon
    Participant
    Up
    0
    Down
    ::

    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

    Kerry Bohannon
    Amicus Voice, LLC

    0
Viewing 3 replies - 1 through 3 (of 3 total)
  • Replies
    kbohannon
    Participant
    Up
    0
    Down
    ::
    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?

    Kerry Bohannon
    Amicus Voice, LLC

    0
    Up
    0
    Down
    ::

    Check this link: 

    https://support.plesk.com/hc/en-us/articles/360003640094-Mail-cannot-be-sent-or-delivered-mail-transport-unavailable

    This is the first time that someone reports an issue regarding postfix, so, sincerely, I don’t know the cause of this and how to solve it.

    0
    kbohannon
    Participant
    Up
    0
    Down
    ::

    killing postfix seems to have done the trick.

    @ing-joserivera26

     

    Kerry Bohannon
    Amicus Voice, LLC

    0
Viewing 3 replies - 1 through 3 (of 3 total)

Tagged: 

  • The topic ‘Postfix’ is closed to new replies.