The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot login to WHM/cPanel but can with SSH

Discussion in 'General Discussion' started by Drumrocker365, Jun 5, 2014.

  1. Drumrocker365

    Drumrocker365 Well-Known Member

    Joined:
    Apr 15, 2014
    Messages:
    72
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello,

    I am unable to login with any of my WHM/cPanel accounts, but I can login with SSH. I have tried restarting the server, changing the root password, and running SSH command to restart cPanel services. None of the following have helped.

    Please help!

    Thanks,
    Christian
     
  2. Ekushey

    Ekushey Member

    Joined:
    Oct 26, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangladesh
    cPanel Access Level:
    Root Administrator
    Twitter:
    Looks like the firewall is blocking you, try disabling iptables temporarily to see if it helps or not:

    Code:
    /etc/init.d/iptables save
    /etc/init.d/iptables stop
     
  3. Drumrocker365

    Drumrocker365 Well-Known Member

    Joined:
    Apr 15, 2014
    Messages:
    72
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Huh.. it works now.

    - - - Updated - - -

    I didn't even have to do anything, it just started working again.
     
  4. Ekushey

    Ekushey Member

    Joined:
    Oct 26, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangladesh
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do you have CSF installed? If so check the settings and whitelist yourself.

    If not, then cPHulk was blocking you, whitelist yourself or tweak settings accordingly.

    Good luck.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    647
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's likely the usernames were locked out by cPhulk brute force detection. Ensure you add your own personal IP address to the white list to prevent this from happening in the future.

    Thank you.
     
Loading...

Share This Page