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.

Just installed cpanel yesterday. Now getting invalid login.

Discussion in 'General Discussion' started by depaq, Dec 14, 2014.

  1. depaq

    depaq Registered

    Joined:
    Dec 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Yesterday I bought a VPS + cPanel from my host and got it installed, setup, and working. I have a few websites currently running off it. Today, however, I try to log into the WHM control panel to find out that I cannot log in. I've done some research already, and it seems cphulk has been blocking a LOT of brute force attempts (Already!?) from China. It seems I've been locked out completely. The logs say my IP is now a brute force attacker.

    My error: The login is invalid.
    I'm trying to log in as the root admin.

    All of this below is from https://documentation.cpanel.net/di...HulkBruteForceProtection-Howtoreleasealockout

    I still have SSH access, so I have tried many things.
    Code:
    /usr/local/cpanel/etc/init/stopcphulkd
    Currently returns: Waiting for cphulkd.pl,cPhulkd,cphulkd to shutdown ... not running.
    Code:
    /usr/local/cpanel/bin/cphulk_pam_ctl --disable
    Has been entered.
    Code:
    rm /var/cpanel/hulkd/enabled
    Has been run.
    I've whitelisted my IP using /scripts/cphulkdwhitelist xx.xx.xx.xxx
    I've reset my password in SSH.
    I've restarted cpanel
    I've restarted the VPS
    Code:
    ps aux | grep -i cphulk
    Returns: root 1963 0.0 0.1 6380 700 pts/0 S+ 23:22 0:00 grep -i cphulk

    https://www.xxxx.com:2087/scripts2/doautofixer?autofix=disable_cphulkd doesn't work.

    I've also truncated the brutes and login tables in mysql.
    What else can I do? This is madness. :confused:
     
  2. depaq

    depaq Registered

    Joined:
    Dec 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok, so I'm still hacking away at this.

    I've found that the root account cannot be logged into at all using cPanel right now. I was, however, able to log in as the normal user accounts that I created last night. Is there any way I can reset the status of root account? It's probably just locked out..
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The issue here is that you are attempting to access cPanel as "root". You must use Web Host Manager instead:

    http://IP:2086
    https://IP:2087

    Thank you.
     
  4. depaq

    depaq Registered

    Joined:
    Dec 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Well that is embarrassing. Thanks.
     
Loading...

Share This Page