Error message : Socket bind() to port 25 for address 127.0.0.1 failed
You may get an error message stating that the socket binding with port 25 for the local address failed with Exim4. Exim4 is an application that allows you to send e-mails.
Here is the exact message type:
Socket bind() to port 25 for address 127.0.0.1 failed: Address already in use: daemon abandoned
It simply means that another package is using it.
We must close it. Type the following line in your SSH interface:
netstat -lnp | grep :25
You then get the following result:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 24736/postfix
In this case, we must stop Postfix:
Or with the following line:
kill -9 24736
It can also be a different module, such as Sendmail or Devcot. The procedure remains the same.
Note: Commissions may be earned from the links above.
This page contains references to products from one or more of our advertisers. We may receive compensation when you click on links to those products. For an explanation of our advertising policy, please visit this page.