"Login invalid" on WHM, and cpanel after using easyapache to update

Mar 25, 2012
20
2
53
Portsmouth, Virginia, United States
cPanel Access Level
Root Administrator
I ran easy apache today, updating apache, and PHP to the latest stable releases as of today. After the update was completed, I restarted the VPS server, and tried to login to WHM, and cpanel again.

no matter what user is attempted, everyone who tries to login to either WHM, or cPanel gets "Login is invalid." and FTP and SSH logins to the server all fail too. My VPS host is currently not available as their site is down. Is there another way to get passed this?
 
Mar 25, 2012
20
2
53
Portsmouth, Virginia, United States
cPanel Access Level
Root Administrator
I thought of that too. i had someone else try to login from another location, and they were unable to login, which told me it wasn't cPHulk. Ultimately, I had to completely reinstall the operating system, and cPanel in order to fix this. Lucky for me, I had a backup of the cpanel account from right before i ran the updates.
 

Doowray

Member
Mar 16, 2014
5
0
1
cPanel Access Level
Root Administrator
Upon doing a Graceful reboot, I was unable to login to my server via SSH/WHM for around 10 minutes. I had tried from different locations. Strangely enough it let me login 10-20 minutes after the server had restarted.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

You can review /usr/local/cpanel/logs/login_log for the times that logins to WHM failed to see if there are any details about the specific login failure.

Thank you.
 

SageBrian

Well-Known Member
Jun 1, 2002
416
2
318
NY/CT (US)
cPanel Access Level
Root Administrator
I just had the same thing happen.
Brand new install of cpanel. I run EasyApache, and my session ends.
I then cannot login anymore with root, via whm browser, or ssh.

I come back about a half hour later, after seeing this post, and poof, I'm back in.
If it happens again, I'll report it and submit a ticket.
 

SageBrian

Well-Known Member
Jun 1, 2002
416
2
318
NY/CT (US)
cPanel Access Level
Root Administrator
spoke too soon.
I got in, then when I tried to Add Account, my session wanted to log me in again, though I could see I was already logged in.
I'll clear browser cache and restart process and see if it continues.

Though, it should not be browser related because I can't use SSH either.
 

cPanelPeter

Technical Analyst III
Staff member
Sep 23, 2013
575
20
143
cPanel Access Level
Root Administrator
Twitter
Hello,

Please review the following log files

For ssh, /var/log/secure
For cPanel/WHM login issues: /usr/local/cpanel/logs/login_log
and finally also /usr/local/cpanel/logs/error_log
 

suicid3

Registered
Sep 14, 2014
1
0
1
cPanel Access Level
Root Administrator
I simply added my local network and any other regularly accessing IP's. Usually the first thing I do on an install these days. Generally should be done as soon as cPanel installs while you're still ssh'd or in kicking distance to the physical box and keyboard.

In my instance I want to whitelist all ip's on my local network. So with a 255.255.255.0 subnet and 10.0.0.1 gateway i run this

[email protected]# /scripts/cphulkdwhitelist 10.0.0.0/24
10.0.0.0/24 has been whitelisted

And........done!