Linux/Unix : fatal: the Postfix mail system is already running
Problem :
Postfix throws out this error message :
fatal: the Postfix mail system is already running
when attempting to start postfix service. The strange thing is that the postfix daemon is not running. You can find out if the postfix service is running or not by issuing this command :
>service postfix status
postfix is not running.
Solution :
Chances are that the postfix's PID file was not deleted during previous shutdown or because of some other reason. Navigate to /var/spool/postfix/pid
and remove the master.pid
file.
Start the service again :
>service postfix start
and if every goes smoothly, it should produce this message :
Starting Postfix Mail Transport Agent: postfix
Hope this helps!
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+19.4k Golang : Secure(TLS) connection between server and client
+6.2k Golang : Fibonacci number generator examples
+31.2k Golang : Convert []string to []byte examples
+10.4k CodeIgniter : How to check if a session exist in PHP?
+17.4k Golang : How to get hour, minute, second from time?
+12.3k Golang : Linear algebra and matrix calculation example
+28.7k Golang : Get and Set User-Agent examples
+7.4k How to show different content from website server when AdBlock is detected?
+8.7k Golang : How to generate Code 39 barcode?
+21.8k Golang : Strings to lowercase and uppercase example
+10.9k Golang : Convert(cast) bigint to string
+9.1k Golang : Detect number of faces or vehicles in a photo