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 update failes WHM/cPanel Down

Discussion in 'General Discussion' started by esolutions, Jul 18, 2008.

  1. esolutions

    esolutions Member

    Joined:
    Aug 16, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Hi,
    Yesterday I ran "Upgrade to Latest Version" in WHM. It ran most of the way and then failed with a message that my perl install was too old (had 5.8.6). I'm not sure why but WHM and cPanel failed at that point and won't start. Just a bunch of perl errors in the logs.

    I then tried to update perl using these commands:
    Code:
    perl -MCPAN -e 'autobundle'
    
    cd /root
    wget http://layer1.cpanel.net/perl588installer.tar.gz
    tar -zxf perl588installer.tar.gz
    cd perl588installer
    ./install -optimize-memory
    
    The last output from that process is as follows:
    Code:
    Cpanel::FastMath: [INSTALLED=0] [VERSION=]
    Can't open perl script "Makefile.PL": No such file or directory
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.
    Cpanel::POSIX::Tiny: [INSTALLED=0] [VERSION=]
    Can't open perl script "Makefile.PL": No such file or directory
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.
    Cpanel::Cleanup: [INSTALLED=0] [VERSION=]
    Can't open perl script "Makefile.PL": No such file or directory
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.
    /scripts/checkperlmodules produces the same output

    I then tried running perl -MCPAN -e 'install Bundle::Snapshot_2008_07_17_00'
    which seemed to finish okay but the same error still appeared when I would execute /scripts/checkperlmodules

    I then ran /scripts/upcp --force and that went all the way through but with some bad looking Perl errors at the end and cPanel still fails to start.

    perl -v shows 5.8.8

    Any help would be greatly appreciated.
     
    #1 esolutions, Jul 18, 2008
    Last edited: Jul 18, 2008
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    A long shot, but try deleting the directory trees (be careful) /home/.cpan and /home/.cpcpan and then run:

    /scripts/checkperlmodules --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. esolutions

    esolutions Member

    Joined:
    Aug 16, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Thanks for your response. We actually ended up having cPanel support fix it. They were a little vague about what they did to fix the problem but it sounds like they completely removed Perl and reinstalled it.
     
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