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
+12.6k Golang : Encrypt and decrypt data with x509 crypto
+15.2k Golang : Search folders for file recursively with wildcard support
+12.7k Golang : Forwarding a local port to a remote server example
+5.9k Golang : Markov chains to predict probability of next state example
+12.2k Golang : Setup API server or gateway with Caddy and http.ListenAndServe() function example
+18.5k Golang : Put UTF8 text on OpenCV video capture image frame
+41.6k Golang : Convert string to array/slice
+4.5k Linux/MacOSX : Search and delete files by extension
+11.6k Golang : Delay or limit HTTP requests example
+8.2k Golang : Trim everything onward after a word
+11.4k Golang : Fix go.exe is not compatible with the version of Windows you're running
+13k Golang : Convert IPv4 address to packed 32-bit binary format