Today I have installed new WHM/cPanel server on an AWS instance. Generally AWS servers are used key based login for ssh users and users don’t have root password. So I have manually reset root password through command line. After installation of cPanel when I tried to login to WHM using web browser I got
After that I google about this issue and found few solutions in which below solution work for me.
This issue is creating due to my IP address was blocked by cphulkd. So I have added my ip to white list using following command. Make sure to change 188.8.131.52 with your actual public ip. To find your public ip visit here.
/scripts/cphulkdwhitelist 184.108.40.206220.127.116.11 has been whitelisted
After that I was able to login successfully using root account in WHM panel.