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.conf missing

Discussion in 'General Discussion' started by hbhb, Jan 7, 2007.

  1. hbhb

    hbhb Well-Known Member

    Joined:
    Dec 1, 2006
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Broadcast message from root (Sat Jan 6 15:52:08 2007):

    cPanel Layer 2 Update Commencing

    Broadcast message from root (Sat Jan 6 16:01:09 2007):

    cPanel Layer 2 Install Complete


    I got this message while leaving my computer on over the weekend. And suddenly find that my mail server aint' working. So i tried to restart exim

    root@kuching [~]# service exim restart
    Shutting down exim: [FAILED]
    Shutting down antirelayd: [ OK ]
    Shutting down spamd: [ OK ]
    Starting exim: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
    [FAILED]
    Starting exim-smtps: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
    [FAILED]
    Starting antirelayd: [ OK ]
    Starting spamd: [ OK ]


    I tried to reinstall exim by # /scripts/exim4 --force

    It doesn't work again, so I tried to update again # /scripts/upcp --force

    Doesn't work! What should I do now?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    /scripts/buildeximconf
     
  3. jpetersen

    jpetersen Well-Known Member

    Joined:
    Dec 31, 2006
    Messages:
    113
    Likes Received:
    4
    Trophy Points:
    18
    ps aux | grep rpm

    Do you see a hung exim rpm install process? If so, your rpm database is possibly corrupt.

    rm -f /var/lib/rpm/_db*
    rpm --rebuilddb -vv

    You may need to kill the current cPanel update process(es) first, then rebuild the rpm db, then re run /scripts/upcp

    I mention the above from experience with the most recent update as well. Basically, cPanel is trying to update exim from 4.52 to 4.63, and when the rpm install process hangs (due to a corrupt rpm db), exim.conf disappears somewhere along the way. Using the steps above fixed the issue.
     
Loading...

Share This Page