(re)start) "exim4" service: paniclog has non-zero size

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

(re)start) "exim4" service: paniclog has non-zero size

Post by ^rooker »

[PROBLEM]
I ran a "dpkg-reconfigure exim4-config" to configure exim4 as mail relay.
Everything fine, but whenever I tried to start/stop/restart exim4 service, I got the following error message:
ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken
[SOLUTION]
The first thing to do is to look in the paniclog (since it has *non* zero size :))
In there I found:

Code: Select all

2014-11-27 11:37:35 socket bind() to port 25 for address ::1 failed: Cannot assign requested address: daemon abandoned
Since I had IPv6 disabled on my Debian machine, Exim4 failed to bind to "::1" (obviously).
Edit the following line in "/etc/exim4/update-exim4.conf.conf":

Code: Select all

dc_local_interfaces='127.0.0.1 ; ::1'
Remove the "; ::1" and restart Exim.

Voila! ALERT-message gone :D
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply