Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

perl/Exim errors - Exim not starting

Discussion in 'General Discussion' started by lukemcr, Feb 15, 2011.

  1. lukemcr

    lukemcr Member

    Joined:
    Feb 29, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Exim stopped working for me this morning, and I'm not sure why. Trying to restart it with /scripts/restartsrv exim, I get the following error:

    Running /scripts/perlinstaller gives me

    Running /scripts/eximup --force gives me the same ELFCLASS32 error

    uname -a gives me Linux host.host 2.6.18-028stab069.6 #1 SMP Wed May 26 18:10:06 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux


    Any ideas? This is frustrating. /scripts/upcp --force got WHM/cPanel working after they weren't for a while, but Exim still won't start. Downloading and compiling the latest perl modules from layer1.cpanel.net doesn't seem to change anything.

    Thanks a lot.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you please check the following:

    Code:
    ls -lah /usr/bin/perl /usr/local/bin/perl
    Please provide the output of that command.

    Also, when you mention downloading and compiling the latest perl modules, do you mean reinstalling perl itself using a command like the following?

    Code:
    cd /usr/local/src && wget -N http://httpupdate.cpanel.net/perl588installer.tar.gz && tar -xzvf perl588installer.tar.gz && chown -vhR 0:0 perl588installer && cd perl588installer && ./install
    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lukemcr

    lukemcr Member

    Joined:
    Feb 29, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    ls -lah /usr/bin/perl /usr/local/bin/perl gives me

    And for downloading and compiling the latest perl modules, yes, I downloaded http://layer1.cpanel.net/perl588installer.tar.gz, tar -xzvf'd it, and ran the install program like ./install.
     
  4. lukemcr

    lukemcr Member

    Joined:
    Feb 29, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
  5. lukemcr

    lukemcr Member

    Joined:
    Feb 29, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Alright, got it figured out. The ELFCLASS32 error is because exim is looking for a 64 bit version of perl, but a 32 bit version is installed for some reason.

    Remove perl* from /etc/yum.conf, yum update, yum install perl.x86_64, yum remove perl.i386 and then restarting exim is what worked for me.
     
  6. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend also running checkperlmodules to make sure that all modules required by cPanel are installed after the changes you made. Run the following command as root:

    Code:
    # /scripts/checkperlmodules --full
    From your comments, it sounds like everything may be fine, but I recommend doing this as a precautionary measure.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice