Error 500 in the WHM WebInterface

omnipcx

Registered
Dec 25, 2007
1
0
51
Hi All,

I've just install again Cpanel beacause I've several troubles to my previous install.

Cpanel is just setup and whenn I would going to a module, I receive one error 500.

I've use upcp --force for install again the last RELEASE version, but with the console I see

Code:
"==> Running post install scripts....Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/Class/Std.pm line 3.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Class/Std.pm line 3.
Compilation failed in require at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 12.
Compilation failed in require at (eval 1) line 3.
        ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 14.
Compilation failed in require at /usr/local/cpanel/bin/cachelangfiles line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/bin/cachelangfiles line 11."
Cpanel have continue the setup ... and at the end ... Error 500 is always here :(

I've try to use the webinterface for forcing again the setup bug ... error 500
To the cpanel log I've
" root [03/11/2009:05:35:46 -0000] "GET /cgi/live_upcp.cgi?force=0 HTTP/1.1" 500"

No Informations into the error_logs file ...

I've never update the perl librairie alway the 5.8.8 setup by the cpanel installer.

Can you help me for find the reason why I receive error 500 and the updte script can't find several .pm ... ?

Thanks,
Damien
 
Last edited by a moderator:

Pirotess

Member
Apr 5, 2005
11
0
151
Same problem here with the following build.

cPanel 11.24.4-C34851 - WHM 11.24.2 - X 3.9
CENTOS 5.2 x86_64 standard

/scripts/cleanversion didnt fix it for me.

UPDATE:

Had to run the following commands to fix it:

/scripts/perlinstaller --force Template::Stash::XS
/scripts/makecpphp

After that I did a service cpanel restart and all was well.
 
Last edited:

spiper

Registered
Feb 25, 2008
4
0
51
login whm 500 error and sites not showing fix

I found a fix for these errors it seems when you enable Perl Module Magic User it restructures the logins and settings so it gives errors. The WHM 500 error is one and sites not showing content is the other.

The WHM cpanel login 500 error can be bypassed with logging into port :2086 instead this will get you into cpanel control panel

example: http://somesite.com:2086


Good luck hope this helps. Also restart apache after you disable the module and site should work properly again.
 

tuxicans

Active Member
Oct 16, 2008
38
0
56
spiper, thanks for the details.

I assume you installed the perl module again, right?
Can you please provide the exact name of the perl module?