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
+18k Golang : Check if directory exist and create if does not exist
+5.9k Golang : Output or print out JSON stream/encoded data
+12.1k Golang : Linear algebra and matrix calculation example
+8k Golang : io.Reader causing panic: runtime error: invalid memory address or nil pointer dereference
+24.6k Golang : How to write CSV data to file
+11.3k Golang : Validate email address
+10.6k CodeIgniter : Import Linkedin data
+8.5k Facebook : Getting the friends list with PHP return JSON format
+4.5k Unix/Linux/MacOSx : How to remove an environment variable ?
+13.6k Golang : Find commonalities in two slices or arrays example
+30.7k Golang : Validate email address with regular expression
+10.7k Golang : Convert decimal number(integer) to IPv4 address