Apr 26, 2012
cPanel Access Level
Website Owner

I cannot access Cpanel and WHM. Eveything was working fine about a week ago. I tried to log in to cpanel yesterday but got a blank screen. I rebooted my server remotely but now just get an error message (below). My hosting company "Memset" say they think is is due to a failed upgrade. The pointed me at this thread:

I have tried to follow the steps but there is no line with "default_login_theme=cpanel-legacy" in the cpanel.config file so I dont think this is the issue.

Cpanel is running on Cent OS. This is the error:


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/local/cpanel/perl/C220 /usr/local/cpanel/perl/5.6.2/i686-linux /usr/local/cpanel/perl/5.6.2/i686-linux /usr/local/cpanel/perl/5.6.2 /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2 /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2 /usr/local/cpanel/perl/site_perl . /usr/local/cpanel/perl/5.6.2/i686-linux /usr/local/cpanel/perl/5.6.2 /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2 /usr/local/cpanel/perl/site_perl .) at (eval 7) line 1.

 at (eval 7) line 1
	eval 'require Cpanel::LegacyLogin;' called at cpsrvd-ssl line 8115
	main::process_legacy_login('login', 'IO::Socket::SSL=GLOB(0x88a5614)', 'cpanel', 'goto_uri', '/', 'dest_uri', '/', 'user', ...) called at cpsrvd-ssl line 2635
	main::badpass() called at cpsrvd-ssl line 4716
	main::handle_auth() called at cpsrvd-ssl line 993
	main::handle_one_connection() called at cpsrvd-ssl line 863


Any help much appreciated. Let me know if you need any further info.

Thanks, James.


Apr 22, 2012
cPanel Access Level
DataCenter Provider
Try connecting without SSL on port 2082 (or 2086 for WHM)

Blank page sounds more like your SSL has gotten messed up or removed.

A self signed certificate is fine but if that's not working and you either go to SSL addresses or setup "Tweak Settings" to force and SSL connection when it's not working will leave you with a blank page.

If your server is configured to force an SSL connection, you can manual change the setting in the main cpanel config file located in /var/cpanel and turn off the forced SSL redirects.

Aside from SSL problems mentioned above, it is possible that your internet connection is being blocked from reaching the normal Cpanel and WHM ports. Universities and hospitals are notoriously bad about doing that as are many workplace employers out there. Some ISPs block all ports but that is not as common. If you are going through a proxy server to reach your server, that too may have the ports that you need blocked from access.

Try to work with the SSL issue first as I think that may be your main primary problem here.


Well-Known Member
Nov 2, 2011
cPanel Access Level
Root Administrator
nternal 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/local/cpanel/perl/C220 /usr/local/cpanel/perl/5.6.2/i686-linux /usr/local/cpanel/perl/5.6.2/i686-linux /usr/local/cpanel/perl/5.6.2 /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2 /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2 /usr/local/cpanel/perl/site_perl . /usr/local/cpanel/perl/5.6.2/i686-linux /usr/local/cpanel/perl/5.6.2 /usr/local/cpanel/perl/site_perl/5.6.2/i686-linux /usr/local/cpanel/perl/site_perl/5.6.2 /usr/local/cpanel/perl/site_perl .) at (eval 6) line 1.
First of all you need to fix these things. I suppose some of perl modules are messed.
In this case check the following article:
Fixing a Suddenly “Broken” cPanel Installation :: The cPanel Admin