The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim has failed

Discussion in 'General Discussion' started by flashsonix, Aug 30, 2004.

  1. flashsonix

    flashsonix Member

    Joined:
    Aug 30, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I am having problems with Exim in WHM. Service status says exim failed.


    Restarting exim results in this message:


    exim status

    mailnull 37603 0.0 0.8 4804 4012 p0- S Fri04AM 0:38.08 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    root 96939 0.0 0.4 2312 1696 ?? S 6:12PM 0:00.01 antirelayd (perl)
    root 96947 5.7 3.7 18560 18016 ?? Ss 6:12PM 0:00.66 /usr/bin/spamd -d (perl)

    exim has failed, please contact the sysadmin.


    Could this be a result of changes I did to the nameservers? If not, what could be other possible reasons for this failure and how can I solve this problem?


    Thanks in advance!
     
    #1 flashsonix, Aug 30, 2004
    Last edited: Apr 20, 2007
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What does it say in your exim log files when you restart it?
    /var/log/exim_mainlog (on Linux)
     
  3. flashsonix

    flashsonix Member

    Joined:
    Aug 30, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1

    I am still new to this topic. How can I view /var/log/exim_mainlog? Do I need to SSH into that dir with a program like Putty or can I view the logs at CPanel? I am running FreeBSD 5.2 on the server.

    Thanks for your help!
     
    #3 flashsonix, Aug 30, 2004
    Last edited: Apr 20, 2007
  4. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    SSH to a prompt and do tail -f /var/log/exim_mainlog
     
  5. flashsonix

    flashsonix Member

    Joined:
    Aug 30, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I did and it says

    tail: -f /var/log/exim_mainlog: no such file or directory


    Any help would be appreciated
     
    #5 flashsonix, Aug 30, 2004
    Last edited: Apr 20, 2007
  6. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Try a "locate exim_mainlog". Also tail - no :
     
  7. flashsonix

    flashsonix Member

    Joined:
    Aug 30, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I found the mainlog at var/log/exim/mainlog but for some reason I don't seem to have read permission although I logged in as the admin.... this is really strange........

    Where can I change read permissions? Do you think that my host has disabled read permission?

    Thanks for your help
     
    #7 flashsonix, Aug 30, 2004
    Last edited: Apr 20, 2007
  8. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Has your host provided any help here? The "chmod" command will allow you to change permissions but make sure you know what the current set is before changing. Short tutorial: http://catcode.com/teachmod/
    Just caution you to go slow here so as not to make matters worse. :)
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Indeed. "Where can I change read permissions? Do you think that my host has disabled read permission?" would suggest that you're not logged in as the root account.
     
  10. vivek

    vivek Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Hello,

    Download libdb2.so.3 from renowned site then create a symbolic link:
    ln -s libdb2.so.3 libdb.so.3
    update exim
    /scripts/exim4
    restart exim:
    /etc/rc.d/init.d/exim restart

    This will solve your problem.

    Vivek.
     
  11. flashsonix

    flashsonix Member

    Joined:
    Aug 30, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Thanks all, I'll better not chmod anything if the problem can be solved in some other way...


    Hi Vivek,

    how do I install libdb2.so.3, is this possible through the menu of WHM?

    and where shall the symbolic link be created?


    Thanks for your help
     
    #11 flashsonix, Aug 31, 2004
    Last edited: Apr 20, 2007
  12. Raybdbomb

    Raybdbomb Registered

    Joined:
    Aug 19, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    worked for me and the problem i was having.

    thanks
     
  13. sck2001

    sck2001 Registered

    Joined:
    Apr 5, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello Vivek

    I faced the "exim has failed" problem, and unable to receive and send email. I just tried the way as this thread said, but still got problem when updating the exim, the error code as follows :




    Preparing... ########################################### [100%]
    1:exim warning: /etc/aliases created as /etc/aliases.rpmnew
    warning: /etc/exim.conf.dist saved as /etc/exim.conf.dist.rpmorig
    warning: /etc/exim.conf.mailman2.dist saved as /etc/exim.conf.mailman2.dist.rpmorig
    warning: /etc/exim.conf.mailman2.exiscan.dist saved as /etc/exim.conf.mailman2.exiscan.dist.rpmorig
    warning: /etc/eximrejects saved as /etc/eximrejects.rpmorig
    warning: /etc/localaliases created as /etc/localaliases.rpmnew
    warning: /etc/localdomains created as /etc/localdomains.rpmnew
    warning: /etc/secondarymx created as /etc/secondarymx.rpmnew
    warning: /etc/spammers saved as /etc/spammers.rpmorig
    ########################################### [100%]
    error: unpacking of archive failed on file /usr/lib/libperl.so;4252de4a: cpio: MD5 sum mismatch
    `/etc/localdomains.eximreset' -> `/etc/localdomains'
    `/etc/aliases.eximreset' -> `/etc/aliases'
    `/etc/secondarymx.eximreset' -> `/etc/secondarymx'
    chown: cannot access `/var/spool/exim': No such file or directory
    chown: cannot access `/etc/exim.crt': No such file or directory
    chown: cannot access `/etc/exim.key': No such file or directory
    Building exim.conf...Exim Binary not found! at /scripts/buildeximconf line 231.
    Done
    exim: no process killed
    exim: no process killed
    Waiting for exim to restart..............finished.

    mailnull 4015 0.0 0.9 9140 4760 ? S Apr04 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    root 27800 0.0 0.3 4220 1552 ? S 11:51 0:00 antirelayd

    exim has failed, please contact the sysadmin.
    sh: line 8: /usr/sbin/exim_dbmbuild: No such file or directory
    sh: line 9: /usr/sbin/exim_dbmbuild: No such file or directory
    sh: line 10: /usr/sbin/exim_dbmbuild: No such file or directory
    sh: line 11: /usr/sbin/exim_dbmbuild: No such file or directory
    chmod: cannot access `/var/spool/exim/db/*': No such file or directory
    chown: cannot access `/var/spool/exim': No such file or directory
    Install Complete


    Thanx a lot, I could manage the cpanel function , except this one ...

    Best Wishes,
    Jack SO
     
  14. markjohnson

    markjohnson Member

    Joined:
    Apr 23, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    With me the service is up and the server does seem to be sending out-bound emails.

    However, I still have a number of emails stuck in the mail que and won't send:

    They are all addressed to root.

    When I click on 'deliver now' I get the following error message:

    Any idea?
     
Loading...

Share This Page