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.

Annoying Exim / Cpanel Bug - Please Correct This!

Discussion in 'General Discussion' started by ManageMyService, Feb 12, 2005.

  1. ManageMyService

    Joined:
    Dec 7, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    In all recent versions of cpanel under CentOS operating system with exim installed exim.pl doesn't exist which breaks exim. It is resolved by creating this file manually but upon cpanel upgrade the file gets removed again. No amount of /scripts/exim4 fixes this bug and i'm unsure where the problem lies, all I know is that i've seen this on 8 servers we manage so far so it is not an isolated incident, hopefully it can be tracked down and resolved ASAP because it's a real pain in the ass.

    Thanks!
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
  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
    Never had that problem on CentOS or any other OS. As dgbaker points out, you need to tell cPanel about your circumstances and environment through the correct channels, which is through bugzilla if it's an easily recreatable problem, or via a Support Ticket.

    Btw, did you try:

    /scripts/exim4 --latest
     
  4. ManageMyService

    Joined:
    Dec 7, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I looked at bugzilla and it appears to have like 2000 bugs listed for resolving? That doesn't look good to me....


    Also, any run of /scripts/exim4 does not work including --force and --latest.

    Thanks.
     
  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
    Regardless of what you see in bugzilla, if you don't report it to cPanel, they won't know that you have a problem. If you're not willing to go through the appropriate method of reporting a problem, your problem isn't going to get fixed :rolleyes:
     
  6. junglecat

    junglecat Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    I've been coming to the cpanel forums daily for several days, as well as doing a lot of googling, to try to find some solution to the same exim issues that this topic is about.

    It's driving me crazy! :(
     
  7. MediaServe

    MediaServe Well-Known Member
    PartnerNOC

    Joined:
    Apr 9, 2004
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Nashville, TN USA
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Happens to us too, just in case anyone mistakenly thinks it's an isolated issue. /etc/exim.pl just goes missing, don't know why, and doesn't get replaced by updating exim, we have to copy it back over from another server.

    It's infrequent though, I'll probably just cron the replacement at some point when I get tired of doing it manually.
     
  8. cPanelBilly

    cPanelBilly Guest

    Do a:
    root@server [~]# rpm -qa | grep exim



    you should get the following back:
    exim-4.44-0_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass

    If you dont then paste what you are getting back. The following is what I am getting from a test box:

    root@server [~]# cat /etc/redhat-release
    CentOS release 3.3 (final)
    root@server [~]# rpm -qf /etc/exim.pl
    exim-4.44-0_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
     
  9. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    eximplcheck

    Code:
    #!/bin/sh
    if [ ! -f "/etc/exim.pl" ]; then
    /bin/cp exim.backup.pl /etc/exim.pl
    fi
    crontab -e

    */5 * * * * /path/to/eximplcheck >/dev/null

    To check and replace if missing (every 5 mins.)

    Haven't seen this one myself either though.
     
  10. junglecat

    junglecat Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Can someone give me an idiot guide to setting this up?
     
  11. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    You can set this up by

    # cp /etc/exim.pl /root/exim.backup.pl

    # pico /root/eximplcheck

    Copy and paste the following into the editor

    Code:
    #!/bin/sh
    if [ ! -f "/etc/exim.pl" ]; then
    /bin/cp /root/exim.backup.pl /etc/exim.pl
    echo "exim.pl was missing, restored a backup - logged at `/bin/date`" >> /root/eximpl.log
    fi
    CTRL + x then enter y , to save the file.

    # chmod 700 /root/eximplcheck

    # crontab -e

    Paste the following onto a new line

    */5 * * * * /root/eximplcheck >/dev/null

    CTRL +x , then enter y , to save (if pico is used for your crontab)


    You should work with your cpanel distributor, server admin or cpanel directly (if they support you) to get the original problem fixed though if this persists.
     
    #11 DigitalN, Feb 17, 2005
    Last edited: Feb 17, 2005
  12. junglecat

    junglecat Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16

    Thank you very much, that worked. :D
     
  13. platinum

    platinum Active Member

    Joined:
    Nov 21, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    same problem here - what an annoying bug!
    edit: just reaslised how old this thread was - is is back? having the exact same issue at the moment, everytime cPanel restarts it deletes the exim.pl file...

    Running cPanel 10.8.1-C112
     
    #13 platinum, Feb 27, 2006
    Last edited: Feb 27, 2006
  14. tamajama

    tamajama Registered

    Joined:
    Jul 9, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Recent Problems As well

    We are experiencing the same problems here. Other than running a cronjob, has anyone run into a solution for this? Pulling a different nightly build?
    It's happened the last 2 evenings here - Not fun to have to revisit it every morning.

    Running WHM 11.2.0 cPanel 11.8.0-R16260
     
  15. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator

    Please open a support ticket at http://cpanel.net/support/ so we can determine what happened and rectify it.
     
Loading...

Share This Page