Can't send email (exim not starting correctly)
Our server updated and we can no longer send email (and it appears that some inboxes appear blank as well. Not sure if that's related or even a real issue yet). If you try to restart exim it fails with the following error:
I'm wondering if it's a permissions error as these permissions look weird to me:
The server isn't out of space as a df -h denotes about 33% free space still. It's really strange to me and I've even tried rebooting the server. I have an open ticket, but thought I'd ask here anyways. Any help would be greatly appreciated! EDIT: I would also add that checking the status of the servers gives you: exim dead but subsys locked
Waiting for "exim" to start ""waiting for "exim" to initialize """""""""""""""""""""""""""""""""""""""""""""""""""
"failed.
Service Error
The "exim" service failed to start.
Startup Log
Starting exim: [ OK ]
0 processes (antirelayd) sent signal 9
/usr/local/cpanel/scripts/update_sa_rules: running in background
exim has failed. Please contact your system administrator if the service does not automagically recover.I'm wondering if it's a permissions error as these permissions look weird to me:
ls -l /var/spool/
total 56
drwxr-xr-x. 14 root root 4096 Dec 27 12:51 ./
drwxr-xr-x. 23 root root 4096 Apr 6 02:02 ../
drwxr-xr-x. 2 abrt abrt 4096 Dec 31 02:05 abrt/
drwx------. 2 abrt abrt 4096 Oct 16 10:33 abrt-upload/
drwxr-xr-x. 2 root root 4096 Nov 23 2013 anacron/
drwx------. 3 daemon daemon 4096 Apr 6 02:51 at/
drwx------. 2 root root 4096 Mar 12 2012 cpupdates/
drwx------. 2 root root 4096 Apr 6 10:10 cron/
drwx------ 2 root root 4096 Jan 27 17:29 cron.suspended/
drwxr-x---. 6 mailnull mail 4096 Jul 5 2014 exim/
drwxr-xr-x. 3 root root 4096 Mar 12 2012 logrotate/
drwxr-xr-x. 2 root root 4096 Sep 23 2011 lpd/
drwxr-xr-x. 2 root mail 4096 Apr 6 02:25 mail/
drwxr-xr-x. 2 root root 4096 Apr 3 12:47 plymouth/
ls -l /var/spool/exim
total 28
drwxr-x---. 6 mailnull mail 4096 Jul 5 2014 ./
drwxr-xr-x. 14 root root 4096 Dec 27 12:51 ../
drwxr-x---. 2 mailnull mail 4096 Apr 6 02:10 db/
-rw-r--r--. 1 mailnull mail 5 Apr 3 12:48 exim-daemon.pid
drwxr-x---. 64 mailnull mail 4096 May 25 2014 input/
drwxr-x---. 64 mailnull mail 4096 May 25 2014 msglog/
drwxr-x--- 4 mailnull mail 4096 Apr 3 12:52 scan/The server isn't out of space as a df -h denotes about 33% free space still. It's really strange to me and I've even tried rebooting the server. I have an open ticket, but thought I'd ask here anyways. Any help would be greatly appreciated! EDIT: I would also add that checking the status of the servers gives you: exim dead but subsys locked
-
Support took care of it! Thanks guys! Here's their response of what they did for the record: It looks like there was a misconfiguration inside WHM that was causing this issue. I noticed that Exim wasn't running properly when I first logged in and it would crash again shortly after restarting the service. I saw this error repeatedly happening in the Exim logs: 2015-04-06 14:37:53 [17914] socket bind() to port 110 for address (any IPv6) failed: Address already in use: waiting 30s before trying again (4 more tries) It looks like the following custom ports were added to WHM >> Service Manager for Exim: 26,110,587 Ports 110 or 587 are already open by default on the mail service so Exim was trying to connect to those ports twice when it started up. When it failed it would continually restart and no mail could be sent. I removed 110 and 587 and saved the configuration and now email seems to be working just fine. 0 -
Hello, I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
2 comments