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

minosjl

Well-Known Member
Jun 4, 2011
168
0
66
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.
 
Last edited:

Eric

Well-Known Member
Nov 25, 2007
752
12
143
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!