I'm getting the following error from my Ubuntu server:
exim paniclog /var/log/exim4/paniclog on (my server FQDN) has non-zero size, mail system might be broken.
I found a solution on the web here. Basically, I just need erase the paniclog by entering the following code:
sudo rm /var/log/exim4/paniclog
So, I know how to get rid of the error, but I don't know how it started, and how to not let it happen again. Any explanation? Thanks in advance.
I had the same issue, here is what my exim4 paniclog looked like:
This problem was apparently solved by deleting the paniclog file
The answers above are bad because you delete a log file and it's then gone for future log entries from exim. The solution is to create a logfile backup.
Most Debian based distros use
logrotate
for this. You can force a backup with thelogrotate
command. Option-f
is to force it and-v
is for a more verbose output.Try (for Debian and also should work on Ubuntu).
This blog entry seems to have an answer. Looks like it can have to do with IPv6 settings and results from a change in the way the kernel supports IPv6.
Basically, disable IPv6 for now.
In my case, the passwd file was missing, which was causing the exim4 to panic. I added a new user, and that added the file, with the proper permissions, and the content exim expects to be there.
It seems that exim needs at least one local user, and that domain had all forwarding users. Once I added a local user with a password, the errors stopped.
Your mileage may vary.
In my case the error was as follows:
My solution was to remove the
paniclog
file and do adpkg-reconfigure exim4-config
removing::1
from the IPs to bind to.