Page 1 of 1

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

Posted: Thu Nov 27, 2014 1:34 pm
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