Just installed cpanel yesterday. Now getting invalid login.

depaq

Registered
Dec 14, 2014
3
0
1
cPanel Access Level
Root Administrator
Hello,

Yesterday I bought a VPS + cPanel from my host and got it installed, setup, and working. I have a few websites currently running off it. Today, however, I try to log into the WHM control panel to find out that I cannot log in. I've done some research already, and it seems cphulk has been blocking a LOT of brute force attempts (Already!?) from China. It seems I've been locked out completely. The logs say my IP is now a brute force attacker.

My error: The login is invalid.
I'm trying to log in as the root admin.

All of this below is from https://documentation.cpanel.net/di...HulkBruteForceProtection-Howtoreleasealockout

I still have SSH access, so I have tried many things.
Code:
/usr/local/cpanel/etc/init/stopcphulkd
Currently returns: Waiting for cphulkd.pl,cPhulkd,cphulkd to shutdown ... not running.
Code:
/usr/local/cpanel/bin/cphulk_pam_ctl --disable
Has been entered.
Code:
rm /var/cpanel/hulkd/enabled
Has been run.
I've whitelisted my IP using /scripts/cphulkdwhitelist xx.xx.xx.xxx
I've reset my password in SSH.
I've restarted cpanel
I've restarted the VPS
Code:
ps aux | grep -i cphulk
Returns: root 1963 0.0 0.1 6380 700 pts/0 S+ 23:22 0:00 grep -i cphulk

https://www.xxxx.com:2087/scripts2/doautofixer?autofix=disable_cphulkd doesn't work.

I've also truncated the brutes and login tables in mysql.
What else can I do? This is madness. :confused:
 

depaq

Registered
Dec 14, 2014
3
0
1
cPanel Access Level
Root Administrator
Ok, so I'm still hacking away at this.

I've found that the root account cannot be logged into at all using cPanel right now. I was, however, able to log in as the normal user accounts that I created last night. Is there any way I can reset the status of root account? It's probably just locked out..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
I've found that the root account cannot be logged into at all using cPanel right now. I was, however, able to log in as the normal user accounts that I created last night. Is there any way I can reset the status of root account? It's probably just locked out..
Hello :)

The issue here is that you are attempting to access cPanel as "root". You must use Web Host Manager instead:

http://IP:2086
https://IP:2087

Thank you.