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.

Error 500 in the WHM WebInterface

Discussion in 'General Discussion' started by omnipcx, Mar 11, 2009.

  1. omnipcx

    omnipcx Registered

    Joined:
    Dec 25, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
    #1 omnipcx, Mar 11, 2009
    Last edited by a moderator: Mar 11, 2009
  2. SKiran

    SKiran Registered

    Joined:
    Mar 11, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Try,

    /scripts/cleanversion
     
  3. Pirotess

    Pirotess Member

    Joined:
    Apr 5, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
    #3 Pirotess, Mar 28, 2009
    Last edited: Mar 28, 2009
  4. spiper

    spiper Registered

    Joined:
    Feb 25, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  5. tuxicans

    tuxicans Active Member

    Joined:
    Oct 16, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
Loading...

Share This Page