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 18.104.22.168 with your actual public ip. To find your public ip visit here.
/scripts/cphulkdwhitelist 22.214.171.124126.96.36.199 has been whitelisted
After that I was able to login successfully using root account in WHM panel.