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 restart failed

Discussion in 'General Discussion' started by wipl_piyush, Feb 10, 2004.

  1. wipl_piyush

    wipl_piyush Well-Known Member

    Joined:
    Oct 31, 2003
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NY
    Exim Restart Failed
    I got this error when i try to restart exim on my new cpnael box.


    Starting exim: /usr/sbin/exim: error while loading shared libraries: libdb.so.3: cannot open shared object file: No such file or directory
    [FAILED]
    Starting exim-smtps: /usr/sbin/exim: error while loading shared libraries: libdb.so.3: cannot open shared object file: No such file or directory
    [FAILED]

    **********************************************
    My config is :

    Celeron , Redhat Enterprise and cpanel latest version , Exim 4
     
  2. SpringChicken

    SpringChicken Member

    Joined:
    Dec 16, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    i am having exactly the same problem ... any luck figuring it out ?
     
  3. 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 O/S are you running?

    No solution, but on my RHE3 servers libdb.so.3 is a symlink in /lib/ defined as:

    /lib/libdb.so.3 -> libdb2.so.3

    Does the symlink exist? If so, does libdb2.so.3 exist? If not, then that's a problem. If it does, you could recreate the symlink:

    ln -s /lib/libdb2.so.3 /lib/libdb.so.3
     
  4. SpringChicken

    SpringChicken Member

    Joined:
    Dec 16, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    nice one chirpy. you were on the nail.

    I sent a trouble ticket and support fixed it. My compliments to EV1's great support. Here is what they said they did :

    In the /lib folder, a symlink was created to the missing library and re-ran ldconfig. This allowed exim to start.

    In whm however under server status, exim still shows up as failed ... also on cpanel for that matter ... although it IS working.

    any ideas chirpy ?
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Don't know much about the services pages :( except that restarting /etc/init.d/chkservd will force a refresh.
     
  6. SpringChicken

    SpringChicken Member

    Joined:
    Dec 16, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    i did the restart already a couple of times, rebooted, reinstalled exim, updated cpanel but still keep getting this annoying red dot !

    exim (exim-4.24-30_cpanel_stmpcontrol_antivirus_rewrite_mailman2) failed BIG RED DOT

    i also tried disabling mailman. I hope I dont have to live with it ... it's like a painful zit that needs popping !!!
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I had a little further look into chkservd...do you have a file /etc/chkserv.d/exim and if so, does it contain:

    #SERVICE = PORT, SEND, RESPONSE, RESTART COMMAND

    service[exim]=25,QUIT,220,/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim start

    If that's OK. Can you do this on the server from shell:

    telnet 0 25
    Trying 0.0.0.0...
    Connected to 0 (0.0.0.0).
    Escape character is '^]'.
    220-www.yourdomain.com ESMTP Exim 4.24 #1 Mon, 16 Feb 2004 00:03:52 +0000

    Do you get a similar first line after "Escape character is '^]'.", that is, does it start with:

    220
     
  8. SpringChicken

    SpringChicken Member

    Joined:
    Dec 16, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    thanks for your help dude ...

    i followed your instuctions:

    #SERVICE = PORT, SEND, RESPONSE, RESTART COMMAND

    service[exim]=25,QUIT,554,/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim start


    root@XXX [~]# telnet 0 25
    Trying 0.0.0.0...
    Connected to 0 (0.0.0.0).
    Escape character is '^]'.
    220-XXX.XXXXXX.com ESMTP Exim 4.24 #1 Mon, 16 Feb 2004 00:58:42 +0000
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.

    also i have been getting emails 'exim on srv1.xxxxxxx.com failed' every 20 mins' although it's working ... ????

    thanks for your help chirpy
     
  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
    Try changing your:

    service[exim]=25,QUIT,554,/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim start

    to:

    service[exim]=25,QUIT,220,/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim stop;/etc/rc.d/init.d/exim start

    Note: 554 -> 220 is the difference. Then run:
    /etc/init.d/chkservd stop
    /etc/init.d/chkservd start
     
  10. SpringChicken

    SpringChicken Member

    Joined:
    Dec 16, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    brilliant. that did it. thank you so much.

    :D
     
Loading...

Share This Page