Cannot login to WHM/cPanel but can with SSH

Drumrocker365

Well-Known Member
Apr 15, 2014
72
1
8
cPanel Access Level
Root Administrator
Hello,

I am unable to login with any of my WHM/cPanel accounts, but I can login with SSH. I have tried restarting the server, changing the root password, and running SSH command to restart cPanel services. None of the following have helped.

Please help!

Thanks,
Christian
 

Ekushey

Well-Known Member
Oct 26, 2011
46
7
133
Bangladesh
cPanel Access Level
Root Administrator
Twitter
Looks like the firewall is blocking you, try disabling iptables temporarily to see if it helps or not:

Code:
/etc/init.d/iptables save
/etc/init.d/iptables stop
 

Ekushey

Well-Known Member
Oct 26, 2011
46
7
133
Bangladesh
cPanel Access Level
Root Administrator
Twitter
Do you have CSF installed? If so check the settings and whitelist yourself.

If not, then cPHulk was blocking you, whitelist yourself or tweak settings accordingly.

Good luck.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

It's likely the usernames were locked out by cPhulk brute force detection. Ensure you add your own personal IP address to the white list to prevent this from happening in the future.

Thank you.
 

Namaboy

Registered
Dec 9, 2019
1
0
1
Nigeria
cPanel Access Level
Root Administrator
Hello everyone, I just install cPanel and WHM on my VM for the first time but I can not login. I even try changing the root password and it's still not working, I'm new to this please I need assistance