On Mon, Sep 02, 2024 at 01:14:47PM -0600, Glen via Postfix-users wrote:

> Problem:
> 
>  *   Postfix does not start after a reboot.
>  * systemctl start postfix ...Job for postfix.service failed because
>    the control process exited with error code.
>  * systemctl status -l  postfix ...  Failed to start Postfix Mail
>    Transport Agent.
>  * systemctl restart postfix   ... Job for postfix.service failed
>    because the control process exited with error code

"The control process" would be master(8), look for and report relevant
boot-time logging from postfix/master.

Are all the requisite filesystems mounted at the time Postfix starts?
Is the DNS resolver already running (in case master.cf lists hostnames
to listen on, ...)?  Perhaps some pre-requisite services aren't yet
live?

> However, after a reboot
> 
>  * postfix start  ... takes about 5 minutes

Is there a particularly large count of messages in the (deferred, active
hold or incoming) queues?

>  * systemctl status -l  postfix ...  Still says:  Active: failed
>    (Result: timeout)

Ah, finally a hint (timeout), not surprising because Postfix was
started by hand and not via systemctl/systemd.

>  * systemctl start  postfix  ... Also still says: Job for
>    postfix.service failed

So startup takes too long.  Now you need to find out why.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to