Activities

March 2015
M T W T F S S
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Root password is not accepting on WHM url or SSH logins

While I’m instructed to enable one package on WHM/Cpanel hosted servers, the login which I given was not working. I have verified that root password not been changed for a long time. Fortuantely I had set ssh file wise authentication on that server and hence I could able to access the server now.

I reset the password forcefully the same one which was set earlier. Unfortunately i can’t still not able to login to the server neither on ssh nor WHM url. So I’m currently locked out !! 🙁

The problem

The firewall program “cPHulk Brute Force Protection” was enabled on the server which added our ip in blacklist. That’s why it’s rejecting all the access.

CPhulk-Protection

Solution

a. You may need to wait the blocking time is to expire. or try to access the server from different network

b. If you already connected to the server, you may need to flush out/truncate the tables brutes and logins from cphulkd mysql database. This is the only work around I found working.

mysql>use cphulkd;
Database changed
mysql> delete from brutes;
Query OK, 553 rows affected (0.00 sec)
mysql>  delete from logins;
Query OK, 8 rows affected (0.00 sec)
mysql>

Now you may see the logins are working perfectly after this done. Since I have few public IP’s and I do not want to happen this issue later, I, going to add our IP whitelisted in CPhulk application. See the below screen,

CPhulk-Protection-1

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>