cant upgrade whm/cpanel. Perl errors

miguelangel

Registered
Sep 11, 2007
2
0
51
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.
 

miguelangel

Registered
Sep 11, 2007
2
0
51
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 :)