Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2008
    Posts
    6

    Default perl/Exim errors - Exim not starting

    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:

    Invalid or broken exim binary: exim -bV returned: /usr/sbin/exim: error while loading shared libraries: libperl.so: wrong ELF class: ELFCLASS32
    Running /scripts/perlinstaller gives me

    no valid modules given at /usr/local/cpanel/Cpanel/cPCPAN/Install.pm line 29.
    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. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: perl/Exim errors - Exim not starting

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Feb 2008
    Posts
    6

    Default Re: perl/Exim errors - Exim not starting

    ls -lah /usr/bin/perl /usr/local/bin/perl gives me

    lrwxrwxrwx 1 root root 17 Feb 15 15:29 /usr/bin/perl -> ../local/bin/perl*
    -rwxr-xr-x 2 root root 1.2M Feb 15 15:29 /usr/local/bin/perl*
    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. #4
    Member
    Join Date
    Feb 2008
    Posts
    6

    Default Re: perl/Exim errors - Exim not starting

    ls -lah /usr/bin/perl /usr/local/bin/perl gives me

    lrwxrwxrwx 1 root root 17 Feb 15 15:29 /usr/bin/perl -> ../local/bin/perl*
    -rwxr-xr-x 2 root root 1.2M Feb 15 15:29 /usr/local/bin/perl*
    As far as downloading and compiling the latest perl modules goes, I did exactly that, except I used http://layer1.cpanel.net/perl588installer.tar.gz instead of http://httpupdate.cpanel.net/perl588installer.tar.gz

  5. #5
    Member
    Join Date
    Feb 2008
    Posts
    6

    Default Re: perl/Exim errors - Exim not starting

    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. #6
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: perl/Exim errors - Exim not starting

    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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. EXIM not starting
    By dmitry.filin in forum E-mail Discussions
    Replies: 4
    Last Post: 10-05-2008, 10:07 PM
  2. Perl errors when starting cpgsd.pl
    By SeanHogan in forum cPGS Discussions
    Replies: 3
    Last Post: 12-18-2006, 12:34 AM
  3. How to add custom perl to the exim.pl or exim.pl.local?
    By WebOnce in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-01-2005, 03:47 AM
  4. pipe email from exim to perl script, need help from exim & perl expert
    By markhard in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-21-2005, 10:56 AM
  5. Exim perl piping and errors
    By sparek-3 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-26-2005, 10:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube