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 deleted after upgrade to latest CURRENT

Discussion in 'General Discussion' started by Stream, Jan 17, 2005.

  1. Stream

    Stream Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    I've upgraded two of my servers to the latest CURRENT build today (9.9.9-CURRENT_156).

    On both servers /etc/exim.conf got deleted so I had to copy /etc/exim.conf.buildtest to /etc/exim.conf to get exim running fine again.

    Anyone else experienced this?
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Haven't had that problem here, then again, exim didn't upgrade though its in the changelog.

    What does rpm -q exim print ? Assuming your on a rpm based OS.
     
  3. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    this happened to me on one box ..here is what I tried to fix it:

    /scripts/exim4

    but it would fail at the download part. So then I copied the link from the error and tried to "wget link here" and got permission denied and then remembered that I chmoded -x /usr/bin/wget ..so then I changed it back to 700 and ran /scripts/exim4 again and it worked great.
     
  4. Stream

    Stream Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    I had chmodded wget too I remember now.

    Anyway, on one server everything seems to run fine now, while SpamAssasin refuses to start up on the other one (sending me tons of SMS'es from service monitor).

    Tried to force a reinstall of spamassasin but it's only giving me errors :(
     
  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
    If you're having problems with spamassassin, try:

    rpm -e spamassassin
    rm -Rf /usr/share/spamassassin/*
    /scripts/perlinstaller --force Mail::SpamAssassin


    Problems with exim (and to upgrade to the security fixed v4.44) do:

    chmod 700 /usr/bin/wget
    /scripts/exim4 --latest
     
  6. Stream

    Stream Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, but when I run:

    /scripts/perlinstaller --force Mail::SpamAssassin

    I get:

    Testing connection speed...(this could take a while)....Done
    Ran out of working CPAN mirrors. Please contact cPanel Support at /scripts/cPanelPerl.pm line 209.
     
    #6 Stream, Jan 18, 2005
    Last edited: Jan 18, 2005
  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
    That's OK, it was just incase you had an OS install of it. Did you try the other two lines (the delete and force install?)
     
  8. Stream

    Stream Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Just edited my post above :P
     
  9. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    sheesh, what tutorial is recommending that people chmod their wget binary to 600 or lower?
     
  10. Stream

    Stream Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    This just keeps getting worse. Apparently since SPAMD didn't work last night all emails have bounced.

    Now they get into the mailqueue, but they are not delivered.
    This is the error message when I try delivering them manually in WHM:

    Code:
    LOG: MAIN
      <eddie@xxxxxxx.co.uk>: virtual_sa_userdelivery transport output: An error was detected while processing a file of BSMTP input.
    LOG: MAIN PANIC
      == eddie@xxxxxxx.co.uk R=virtual_sa_user T=virtual_sa_userdelivery defer (-24): Transport filter process failed (127): unable to execute command
    Anyone knows how to fix this?
     
  11. Blackcat

    Blackcat Member

    Joined:
    Sep 13, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Same here. Updated to Version 9.9.9 S15 , exim.conf file is gone. :eek:
     
    #11 Blackcat, Jan 18, 2005
    Last edited: Jan 18, 2005
  12. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    have you guys tried this script?
    /scripts/fixspamassassinfailedupdate

    Also if anyone if wondering why I chmodded my wget to 000 is becuase this box got the santy worm and it was a temp thing and I forget to 700 it.
     
  13. Stream

    Stream Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Running that command gives me this:

    Code:
    open2: exec of /usr/bin/spamc failed at /scripts/RestartSrv.pm line 347
            ...propagated at /scripts/RestartSrv.pm line 397.
    Spamassassin Update Failed, reinstalling!
    Testing connection speed...(this could take a while)....Done
    Ran out of working CPAN mirrors.  Please contact cPanel Support at /scripts/cPanelPerl.pm line 209.
    Seems my box can't find any CPAN mirrors. How can that be fixed?

    Tried googling it but seems i'm the only one with that problem.
     
  14. Blackcat

    Blackcat Member

    Joined:
    Sep 13, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I got more then 1 Server so I just made a copy of the exim.conf from another one. :cool:
     
  15. Ancile

    Ancile Member

    Joined:
    Jun 26, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I found doing the following fixed the Spam Assassin and Exim4 issue....

    1) perl -MCPAN -e '$ENV{FTP_PASSIVE} = 1; install CPAN'
    2) /scripts/exim4
    3) export LANG=en_US
    4) perl -MCPAN -e shell
    5) force install Mail::SpamAssassin

    Note that this was with the latest 'Current' build of cPanel.

    ANUK.
     
  16. Stream

    Stream Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Thank you very much for sorting this out for me! :)
     
  17. Ancile

    Ancile Member

    Joined:
    Jun 26, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    no problem.. the Invoice is in the post... Lol
     
  18. plake

    plake Active Member

    Joined:
    Apr 22, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    ancile:

    did your fix on release build and it works as well... that was one screwy issue...
     
  19. taihnd

    taihnd Member

    Joined:
    Jan 19, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Orange County
    Thanks for these helpful post :)
     
  20. phpman

    phpman Well-Known Member

    Joined:
    Sep 3, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Rio de Janeiro - Brazil
    That error is because spamd is not installed.

    The installation is hanging due to a CPAN error.

    Follow the steps

    1 - perl -MCPAN -e 'install HTML::Tagset;'
    2 - /scripts/installspam
    3 - /scripts/restartsrv_spamd
    4 - /etc/init.d/exim restart
    5 - /etc/init.d/cpanel restart

    Done

    Regard´s

    Flávio
     
Loading...

Share This Page