Help - Search - Members - Calendar
Full Version: cPanel problem
The Planet Forums > Control Panels > cPanel/WHM
CheRny
Today I was trying to use my WHM but some how it doent work like it should be. Ok I start searching and found out that there is a problem with File/Copy/Recursive. Ok, no problem we could fix it:
CODE
cpan File::Copy::Recursive
Ooops, no success... Well, lets try
CODE
/usr/local/cpanel/bin/checkperlmodules
Oops, no success again. Well. we have the forum. According to http://forums.theplanet.com/index.php?showtopic=87446 there is a problem with cPanel and according to email from big cPanel guy we can confirm it by
CODE
perl -c /scripts/wwwacct
. Cool I have confirmation:
CODE
root@web1 [~]# perl -c /scripts/wwwacct
Can't locate Whostmgr/Accounts/Create.pm in @INC (@INC contains: /usr/local/cpanel /scripts /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/wwwacct line 10.
BEGIN failed--compilation aborted at /scripts/wwwacct line 10.

According to http://forums.theplanet.com/index.php?showtopic=87446 we have two ways - stay with cPanel 10 or worh with cPanel 11. Ok, I wanna stay with cPanel 10 and I have to execute the following commands:
CODE
/usr/local/cpanel/bin/checkperlmodules
/scripts/upcp -force


After /scripts/upcp -force I got this:
CODE
BEGIN failed--compilation aborted at /scripts/cPScript/SafeDir.pm line 166.
Compilation failed in require at /scripts/cPScript/cPanelFunctions.pm line 20.
BEGIN failed--compilation aborted at /scripts/cPScript/cPanelFunctions.pm line 20.
Compilation failed in require at /scripts/cPpkgversions.pm line 13.
BEGIN failed--compilation aborted at /scripts/cPpkgversions.pm line 13.


So, no success again. Only after installing a new perl 5.8.8 http://layer2.cpanel.net/perl588installer.tar.gz I was able to execute /scripts/upcp -force without any errors. Hope it'll help you.
James Jhurani
Thanks for the fix, hopefully it will help a few people!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.