Ever been banned by cPanel’s cPHulkd? Well, as of today I can officially say I have been. On a server I was supposed to be administering no less! This is what I get for agreeing to help a friend who uses cPanel. I hate it and feel it’s a waste of resources. But, to each their own. Here’s how to quickly fix the issue:
- SSH into the server and log into your root account.
- Execute the following:
- Log into WHM, still as root.
- Go to “Security Center” > “cPHulk Brute Force Protection”
- You’ll see some text saying “clear failed logins” with a button next to it labeled “Flush DB”.
- Hit that.
- Switch back to SSH and execute the following to start cPHulk:
While you have cPHulk’s configuration open I would strongly encourage you to whitelist your IP. Switch to the “White/Black List Management” tab and enter your IP into the white list. You won’t ban yourself from cPanel/WHM any longer.
And maybe consider dropping cPanel entirely and allocating those resources back to your applications?