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.

cant upgrade whm/cpanel. Perl errors

Discussion in 'General Discussion' started by miguelangel, Apr 8, 2008.

  1. miguelangel

    miguelangel Registered

    Joined:
    Sep 11, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    1- I dont have /scripts/cPScript. So I copy it from /usr/local/cpanel/Cpanel to avoid module problems.
    2- wget http://layer1.cpanel.net/perl588installer.tar.gz
    3- tar xfvz perl588installer.tar.gz
    4- cd perl588installer
    5- ./install

    6- I get errors:

    Can't locate object method "new" via package "cPScript::cPCPAN" (perhaps you forgot to load "cPScript::cPCPAN"?) at /scripts/perlinstaller line 10.
    Can't locate object method "new" via package "cPScript::cPCPAN" (perhaps you forgot to load "cPScript::cPCPAN"?) at /scripts/perlinstaller line 10.
    Can't locate object method "new" via package "cPScript::cPCPAN" (perhaps you forgot to load "cPScript::cPCPAN"?) at /scripts/perlinstaller line 10.
    spawn /scripts/perlinstaller CPAN
    Can't locate object method "new" via package "cPScript::cPCPAN" (perhaps you forgot to load "cPScript::cPCPAN"?) at /scripts/perlinstaller line 10.

    7- If I try to execute /scripts/upcp

    Can't locate cPScript/ProcessCheck.pm in @INC (@INC contains: /usr/local/cpanel /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /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 /scripts/upcp line 15.
    BEGIN failed--compilation aborted at /scripts/upcp line 15.

    How can I solve this problem? i cant upgrade cpanel :(

    /usr/local/cpanel/cpanel -V
    10.9.0-STABLE_7965


    8- If I try to execute /scripts/checkperlmodules

    Can't locate object method "new" via package "cPScript::cPCPAN" (perhaps you forgot to load "cPScript::cPCPAN"?) at /scripts/checkperlmodules line 25.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
  3. miguelangel

    miguelangel Registered

    Joined:
    Sep 11, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I solved a lot of problems. Now I have this one:

    Can't locate cPScript/CleanupStub.pm in @INC (@INC contains: /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /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 /scripts/upcp line 19.

    find / -name CleanupStub.pm dont show results.

    Sorry for my english :)
     
Loading...

Share This Page