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.

upgrading perl to 5.8.8 failing

Discussion in 'General Discussion' started by erinspice, Aug 31, 2007.

  1. erinspice

    erinspice Well-Known Member

    Joined:
    Feb 12, 2006
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    16
    I got an email recently from cPanel informing me that I have to upgrade perl. I ran the commands it suggested I run, but I got a bunch of warnings that look like:\

    Code:
     *** WHOA THERE! ***
    Value for $i_xxx_xxx is NULL!
    Keep current value? [y]
    Then I get
    Code:
     Running Mkbootstrap for attrs ()
    chmod 644 attrs.bs
    rm -f ../../lib/auto/attrs/attrs.so
    cc  -shared -L/usr/local/lib attrs.o  -o ../../lib/auto/attrs/attrs.so  \
            \
    
    chmod 755 ../../lib/auto/attrs/attrs.so
    cp attrs.bs ../../lib/auto/attrs/attrs.bs
    chmod 644 ../../lib/auto/attrs/attrs.bs
    make[1]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/attrs'
    
           Making B (dynamic)
    Couldn't change to directory /C: No such file or directory at Makefile.PL line 18
    Writing Makefile for B
    Warning: No Makefile!
    make[1]: Entering directory `/root/perl588installer/perl-5.8.8/ext/B'
    make[1]: *** No rule to make target `config'.  Stop.
    make[1]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/B'
    make config failed, continuing anyway...
    make[1]: Entering directory `/root/perl588installer/perl-5.8.8/ext/B'
    make[1]: *** No rule to make target `all'.  Stop.
    make[1]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/B'
    make: *** [lib/auto/B/B.so] Error 2
    make install.perl install.man STRIPFLAGS= DESTDIR=""
    make[1]: Entering directory `/root/perl588installer/perl-5.8.8'
            AutoSplitting perl library
    ./miniperl -Ilib -e 'use AutoSplit; \
    autosplit_lib_modules(@ARGV)' lib/*.pm
    ./miniperl -Ilib -e 'use AutoSplit; \
    autosplit_lib_modules(@ARGV)' lib/*/*.pm
    make lib/re.pm
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8'
    make[2]: `lib/re.pm' is up to date.
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8'
    
            Making DynaLoader (static)
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/ext/DynaLoader'
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/DynaLoader'
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/ext/DynaLoader'
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/DynaLoader'
    cd x2p;  make s2p
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/x2p'
    make[2]: `s2p' is up to date.
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/x2p'
    
            Making utilities
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/utils'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/utils'
    
            Making x2p stuff
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/x2p'
    
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/x2p'
    
            Making attrs (dynamic)
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/ext/attrs'
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/attrs'
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/ext/attrs'
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/attrs'
    
            Making B (dynamic)
    Couldn't change to directory /C: No such file or directory at Makefile.PL line 18
    Writing Makefile for B
    Warning: No Makefile!
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/ext/B'
    make[2]: *** No rule to make target `config'.  Stop.
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/B'
    make config failed, continuing anyway...
    make[2]: Entering directory `/root/perl588installer/perl-5.8.8/ext/B'
    make[2]: *** No rule to make target `all'.  Stop.
    make[2]: Leaving directory `/root/perl588installer/perl-5.8.8/ext/B'
    make[1]: *** [lib/auto/B/B.so] Error 2
    make[1]: Leaving directory `/root/perl588installer/perl-5.8.8'
    make: *** [install] Error 2
    removed `/usr/lib/perl5/site_perl/5.8.7/MD5.pm'
    rm: cannot remove `/usr/lib/perl5/site_perl/5.8.7/Digest/MD5': Is a directory
    rm: cannot remove `/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/MD5': Is a directory
    rm: cannot remove `/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Digest/MD5': Is a directory
    rm: cannot remove `/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/Digest/MD5': Is a directory
    removed `/usr/lib/perl5/5.8.7/i686-linux/Digest/MD5.pm'
    rm: cannot remove `/usr/lib/perl5/5.8.7/i686-linux/auto/Digest/MD5': Is a directory
    removed `/usr/lib/perl5/5.8.7/i686-linux/auto/Digest/MD5/MD5.bs'
    removed `/usr/lib/perl5/5.8.7/i686-linux/auto/Digest/MD5/MD5.so'
    Method: Perl Expect
    Fetching CPAN timestamp...Done
    Testing connection speed...(this could take a while)...Done
    Ping:7.205 Testing connection speed to cpan.erlbaum.net using pureperl...(157450.00 bytes/s)...Done
    Ping:7.185 Testing connection speed to cpan.belfry.net using pureperl...(157450.00 bytes/s)...Done
    Ping:8.200 Testing connection speed to cpan.glines.org using pureperl...(104333.33 bytes/s)...Done
    Three usable mirrors located
    Mirror Check passed for cpan.erlbaum.net (/index.html)
    Unknown config variable 'less'
    commit: wrote '/usr/lib/perl5/5.8.7/CPAN/Config.pm'
    CPAN: File::HomeDir loaded ok (v0.66)
    CPAN: Storable loaded ok (v2.16)
    Going to read /home/.cpan/Metadata
      Database was generated on Sat, 01 Sep 2007 02:36:50 GMT
    Running install for module 'MD5'
    Running make for G/GA/GAAS/MD5-2.03.tar.gz
    CPAN: Digest::SHA loaded ok (v5.45)
    CPAN: Compress::Zlib loaded ok (v1.42)
    Checksum for /home/.cpan/sources/authors/id/G/GA/GAAS/MD5-2.03.tar.gz ok
    
    and it looks like it's checking the perl modules. Why won't it upgrade? It upgraded just fine with no errors on my other 5 servers?
     
  2. abhi

    abhi Registered

    Joined:
    Oct 31, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I got the same E-mail today.
    I made the bundle. Then installed Perl correctly. Then tried to install this earlier created bundle, but failed. It speaks about the tests that didn't pass. However, when I run /usr/local/cpanel/bin/checkperlmodules as advised in this E-mail, it says that tested 96, 0 failed.

    Do I have a problem?
    It seems to me that I couldn't update all the modules in the bundle.
    I am not very competent on Linux however.

    Please comment.
     
  3. subnet_rx

    subnet_rx Member

    Joined:
    Nov 9, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I emailed my web host about this, and they indicated to me that the bundle instructions should be for FreeBSD, and that running checkperlmodules should be the next step after installing 5.8.8
     
  4. abhijit04

    abhijit04 Registered

    Joined:
    Aug 25, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pune, India
    try upgrading it manually, log in to your server as root and execute the following commands.

    root@sample.com[~]#cd /root
    root@sample.com[~]#wget http://layer1.cpanel.net/perl588installer.tar.gz
    root@sample.com[~]#tar -zxf perl588installer.tar.gz
    root@sample.com[~]#cd perl588installer
    root@sample.com[~]#./install

    When you are done with this, use the below command to check the perl version.

    root@sample.com[~]#perl -v (your output should be)
    root@sample.com[~]# perl -v

    This is perl, v5.8.8 built for i686-linux

    Copyright 1987-2006, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl". If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.
     
  5. chemist458

    chemist458 Registered

    Joined:
    Jul 12, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Wow, thanks for that, just what I was looking for!!
     
  6. WindyT

    WindyT Active Member

    Joined:
    Nov 30, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Installing this from the /root directory used up a good chunk of free space of my /root with the installer files.

    This is a really dumb question, but now that perl is updated, can I safely remove the
    /perl588installer directory including the
    /perl588installer/perl-5.8.8 directory files?
     
  7. cPanelKyle

    cPanelKyle Technicial Analyst III/Migrations Specialist
    Staff Member

    Joined:
    Feb 10, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, the perl588installer directory can be removed.
     
  8. tangowebs

    tangowebs Well-Known Member

    Joined:
    Oct 12, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    After updating perl to 5.8.8 I got 40 errors. :(
    Then mysql, named and exim started failing and I dont know how to fix it...
    Any idea?
     
  9. ToddShipway

    ToddShipway Well-Known Member

    Joined:
    Nov 13, 2006
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    What were some of the errors? Were they all the same type of error message? The failures are most likely related in some way to cause that many failures.
     
  10. tangowebs

    tangowebs Well-Known Member

    Joined:
    Oct 12, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    Im receiving lot of emails with this:

    [checkperlmodules] The perl module BSD::Resource could not be installed.
    [checkperlmodules] The perl module File::MMagic::XS could not be install
    [checkperlmodules] The perl module Acme::Spork could not be installed.
    [checkperlmodules] The perl module Net::OSCAR could not be installed.
    [checkperlmodules] The perl module Net::SSLeay could not be installed.
    [checkperlmodules] The perl module IO::Uncompress::Gunzip could not be installed.
    [checkperlmodules] The perl module ExtUtils::ParseXS could not be installed.
     
  11. tangowebs

    tangowebs Well-Known Member

    Joined:
    Oct 12, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    For example:

    This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

    Test Run
    ==============
    Can't locate Safe/Hole.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at - line 1.
    BEGIN failed--compilation aborted at - line 1.


    Installer Run
    ==============
    spawn /scripts/realperlinstaller --force Safe::Hole Fetching CPAN timestamp...Done Testing connection speed...(this could take a while)...Done
    Ping:2.531 Testing connection speed to cpan.erlbaum.net using pureperl...(157450.00 bytes/s)...Done Ping:2.310 Testing connection speed to cpan.belfry.net using pureperl...(157450.00 bytes/s)...Done
    Ping:2.094 Testing connection speed to cpan.glines.org using pureperl...(313100.00 bytes/s)...Done Three usable mirrors located Mirror Check passed for cpan.glines.org (/index.html)
    commit: wrote /usr/lib/perl5/5.8.8/CPAN/Config.pm
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Going to read /home/.cpan/sources/authors/01mailrc.txt.gz
    Going to read /home/.cpan/sources/modules/02packages.details.txt.gz
    Database was generated on Tue, 20 Nov 2007 02:39:11 GMT
    CPAN: HTTP::Date loaded ok


    There's a new CPAN.pm version (v1.9205) available!
    [Current version is v1.7602]
    You might want to try
    install Bundle::CPAN
    reload cpan
    without quitting the current session. It should be a seamless upgrade
    while we are running...


    Going to read /home/.cpan/sources/modules/03modlist.data.gz
    Out of memory!
    Callback called exit.
     
  12. tangowebs

    tangowebs Well-Known Member

    Joined:
    Oct 12, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    I tried updating cpanel and some of the errors fixed, but I still cant put exim back online
     
  13. ToddShipway

    ToddShipway Well-Known Member

    Joined:
    Nov 13, 2006
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    Going to read /home/.cpan/sources/modules/03modlist.data.gz
    Out of memory!

    That is the part I would be concerned about. I recommend checking the memory in the server to be sure there is plenty available for the installation to occur.
     
Loading...

Share This Page