Good Day,
If SSH to the server works and WHM via root is still not accessible, you can use below steps to resolve it:
Prerequisite:
- You must have root access of the server for SSH..
- Check login_log and see if whostmgrd (cpHulk) has locked you out. The output will look something like the below:
If the above applies to you, try the following:
1. SSH to your server via root
2. Run the command:
The command above will whitelist your IP address.
3. Enable Password Reset
3. Change your password
4. Try login into the WHM now..
If SSH to the server works and WHM via root is still not accessible, you can use below steps to resolve it:
Prerequisite:
- You must have root access of the server for SSH..
- Check login_log and see if whostmgrd (cpHulk) has locked you out. The output will look something like the below:
Code:
[root@cpanel log]# tail -f /usr/local/cpanel/logs/login_log [2018-02-12 16:16:13 +0000] info [whostmgrd] 11.22.33.44 - root "POST /login/?login_only=1 HTTP/1.1" DEFERRED LOGIN whostmgrd: brute force attempt (user root) has locked out IP 11.22.33.44 (3) [2018-02-12 16:17:15 +0000] info [cpaneld] 11.22.33.44 - causer "POST /login/?login_only=1 HTTP/1.1" DEFERRED LOGIN cpaneld: brute force attempt (user causer) has locked out IP 11.22.33.44 (3)
1. SSH to your server via root
2. Run the command:
Code:
/scripts/cphulkdwhitelist <your_ip_address>
3. Enable Password Reset
Code:
export ALLOW_PASSWORD_CHANGE=1
Code:
/scripts/chpass root "Your_New_Password"
Comment