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.

Cant login to WHM with root user

Discussion in 'General Discussion' started by ozora, May 24, 2017.

  1. ozora

    ozora Member

    Joined:
    May 24, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    indonesia
    cPanel Access Level:
    Website Owner
    hello
    i just installation whm but when i try login to WHM using root user and password,thats always login failed,
    cPHULK has been disable but stlii cant login,


    i use centos 7.3 from azure server,please help me
    thank you
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    First, check to ensure you are using the correct URL for WHM. The correct port in the URL is 2087 (or 2086 for non-SSL). If you are using the correct URL, try accessing the server via SSH and reviewing /usr/local/cpanel/logs/login_log to see if there's a specific login failure message.

    Thank you.
     
    ozora likes this.
  3. ozora

    ozora Member

    Joined:
    May 24, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    indonesia
    cPanel Access Level:
    Website Owner
    hello sir,i use that command /usr/local/cpanel/logs/login_log but permission denied,what should i do next?thank
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you have root access to the system? If so, you can view that log file via SSH as root with a command such as:

    Code:
    tail -f /usr/local/cpanel/logs/login_log
    Then, while watching the log, try logging in and see if you notice any error messages.

    Thank you.
     
    ozora likes this.
  5. ozora

    ozora Member

    Joined:
    May 24, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    indonesia
    cPanel Access Level:
    Website Owner
    if i use that command,i got this error
    tail: cannot open ‘/usr/local/cpanel/logs/login_log’ for reading: Permission denied
    tail: no files remaining
    whats next sir?
    thank you
     
  6. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,404
    Likes Received:
    53
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    It appears the file is not in that location or is with different name.

    # cd /usr/local/cpanel/logs
    # ls -l
    check what exact log file names are here and then choose the correct one to check the logs..

    What do you see when you put the https://<IP_ADDRESS>:2087 in the browser?
    Replace <IP_ADDRESS> with your actual IP address of the server..
     
    ozora likes this.
  7. ozora

    ozora Member

    Joined:
    May 24, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    indonesia
    cPanel Access Level:
    Website Owner


    the login is invalid sir,what should i do sir?
     
  8. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,404
    Likes Received:
    53
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
  9. ozora

    ozora Member

    Joined:
    May 24, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    indonesia
    cPanel Access Level:
    Website Owner
    when i typed # cd /usr/local/cpanel/logs
    # ls -l
    i got this sir Screenshot_4.png
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page