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
+11.4k Golang : How to use if, eq and print properly in html template
+10.5k Golang : Meaning of omitempty in struct's field tag
+10.6k Swift : Convert (cast) String to Integer
+32.3k Golang : Validate email address with regular expression
+9.5k Golang : How to get username from email address
+10.3k Golang : Text file editor (accept input from screen and save to file)
+8.6k Golang : Ackermann function example
+5.6k Golang : If else example and common mistake
+48.7k Golang : Upload file from web browser to server
+14.3k Golang : Chunk split or divide a string into smaller chunk example
+9.5k Golang : How to protect your source code from client, hosting company or hacker?