Fatal: the Postfix mail system is already running solution

  • 2020-05-30 21:18:07
  • OfStack

Fatal: the Postfix mail system is already running solution

[problem situation]

The following error occurs when starting the postfix service:


# service postfix start 
Starting Postfix Mail Transport Agent: postfixpostfix/postfix-script: 
fatal: the Postfix mail system is already running 
failed!

In addition, postfix's status reports postfix is not running.


# service postfix status 
postfix is not running.

[reasons for the problem]

Perhaps the lock on postfix was not removed when it was forced off once. On startup, lock was found to exist and could not run.

[solution]

1. Postfix master PID file (lock) still exist/var spool postfix/pid directory. Enter the directory to delete the files can be:


# cd /var/spool/postfix/pid 
# ls 
master.pid 
# rm master.pid

2. Start the postfix service after deleting the master.pid file.


# service postfix start 
Starting Postfix Mail Transport Agent: postfix

Thank you for reading, I hope to help you, thank you for your support of this site!


Related articles: