Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can't locate Cpanel/LegacyLogin.pm in +Internal server error

Discussion in 'General Discussion' started by minosjl, Sep 2, 2012.

  1. minosjl

    minosjl Well-Known Member

    Joined:
    Jun 4, 2011
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Can't locate Cpanel/LegacyLogin.pm in

    Hello All,

    While trying to access the WHM panel, I am getting the following error. Up on checking the server via ssh and I have notified that the disk usage is 100%. I have freed disk space and tried to start the cPanel service but it ends with error also I am not able to run the /scripts/up --force. It end with Perl error and /scripts/chkperlmodules is missing in the server.


    Looks like the cPanel automatic update was run in the server when the disk usage was 100% and the cPanel installation corrupted by missing of files.

    Is there any way to fix this issue and update the cPanel successfully ?

    ---------------------
    Internal Server Error

    Can't locate Cpanel/LegacyLogin.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/perl/_diet /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/local/cpanel/Cpanel/CPAN/overload/__File__GlobMapper /usr/local/cpanel/Cpanel/CPAN/overload/__Digest /usr/local/cpanel/perl /usr/local/cpanel /usr/local/cpanel/build-tools/stubs /usr/lib/perl5/C220 /usr/lib/perl5/5.6.2/x86_64-linux /usr/lib/perl5/5.6.2/x86_64-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.2/x86_64-linux /usr/lib/perl5/5.6.2 /usr/lib/perl5/site_perl/5.6.2/x86_64-linux /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at (eval 7) line 1.

    at (eval 7) line 1
    eval 'require Cpanel::LegacyLogin;' called at cpsrvd-ssl line 8137
    main::process_legacy_login('login', 'IO::Socket::SSL=GLOB(0x2322190)', 'cpanel', 'goto_uri', '/', 'dest_uri', '/', 'user', ...) called at cpsrvd-ssl line 2646
    main::badpass() called at cpsrvd-ssl line 4728
    main::handle_auth() called at cpsrvd-ssl line 999
    main::handle_one_connection() called at cpsrvd-ssl line 869
    -----------------------

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 minosjl, Sep 2, 2012
    Last edited: Sep 2, 2012
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    You're going to need to get perl running before you can proceed. You may have to grab the perl installer from layer1.cpanel.net and run it to get your perl files back in place.

    Once you've done that try running updatenow.static and re running upcp.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice