Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Location
    UK
    Posts
    17

    Default Exim Failing

    Hi,

    We are having a major problem with exim. All of a sudden it has failed and when you try to restart it still fails. The paniclog and mainlog havent updated since 2 o'clock this morning and are not providing any help with why exim is failing, as they are not updating.

    Tried to run /scripts/exim4 and am getting errors:

    *** Error code 1

    Stop in /usr/ports/mail/exim.
    ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2210.0 make
    ** Fix the problem and try again.
    ---> Build of mail/exim ended at: Thu, 22 Jul 2004 10:52:44 +0100 (consumed 00:00:00)
    ---> Fresh installation of mail/exim ended at: Thu, 22 Jul 2004 10:52:44 +0100 (consumed 00:00:01)
    ---> Reporting the results (+:done / -:ignored / *:skipped / !:failed)
    ! mail/exim (unknown build error)
    ---> Session ended at: Thu, 22 Jul 2004 10:52:44 +0100 (consumed 00:00:02)
    Waiting for exim to restart..............finished.


    We are currently running: WHM 9.4.0 cPanel 9.4.1-R71 FreeBSD 4.9-RELEASE - WHM X v3.1.0

    I cant seem to find a solution is there anyone that has any ideas or can help. Thanks!!

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Check the following:

    1. That all of the following exist:

    /var/log/exim_mainlog
    /var/log/exim_rejectlog
    /var/log/exim_paniclog

    2. That all the above have the correct file owner of mailnull:mail and permissions of 640

    Then try restarting. If that doesn't work, you should certainly have cPanel take a look at it through a Support Ticket.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Location
    UK
    Posts
    17

    Default

    Yea they exist in /var/log/exim/mainlog, paniclog, rejectlog .

    -rw-r----- 1 mailnull mailnull 108240848 Jul 22 02:15 mainlog
    -rw-r----- 1 mailnull mailnull 2137932 Jul 21 15:57 paniclog
    -rw-r----- 1 mailnull mailnull 15919277 Jul 22 02:11 rejectlog

    Ben

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2002
    Posts
    80

    Default

    The permissions on my log files mirrored those listed by Ben-Orbital. I chown'd them to:

    drwxr-xr-x 2 mailnull mailnull 512B Jun 30 19:42 .
    drwxr-xr-x 4 root wheel 2.0K Jul 24 01:00 ..
    -rw-r----- 1 mailnull mail 21M Jul 23 20:34 mainlog
    -rw-r----- 1 mailnull mail 923K Jul 23 18:01 paniclog
    -rw-r----- 1 mailnull mail 13M Jul 23 20:34 rejectlog

    and exim still fails on restart. Anyone else have a solution for this? Cpanel is pretty slow with support tickets on average and I'd like to get this resolved before customers start complaining that they can't send email.

    EDIT: Have tried /scripts/exim4 to no avail.
    Last edited by Gnomercy; 07-24-2004 at 12:07 AM.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2002
    Posts
    80

    Default

    Found the fix in this thread here on the cpanel forums. Hope this helps.

Similar Threads & Tags
Similar threads

  1. Exim keeps failing please help
    By hostcadet in forum E-mail Discussions
    Replies: 3
    Last Post: 06-18-2009, 10:49 AM
  2. exim failing too much
    By fado in forum E-mail Discussions
    Replies: 1
    Last Post: 09-26-2007, 04:01 AM
  3. Exim keeps failing?
    By snet in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-24-2006, 10:28 AM
  4. Exim Failing
    By kris1351 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-13-2005, 11:08 AM
  5. exim failing
    By AlaskanWolf in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-16-2002, 02:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube