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.

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:
    16
    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.
     
    #1 minosjl, Sep 2, 2012
    Last edited: Sep 2, 2012
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    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!
     
Loading...

Share This Page