Skip to main content

Cant login to WHM with root user

Comments

11 comments

  • cPanelMichael
    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.
    0
  • ozora
    hello sir,i use that command /usr/local/cpanel/logs/login_log but permission denied,what should i do next?thank
    0
  • cPanelMichael
    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:
    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.
    0
  • ozora
    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
    0
  • 24x7server
    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://:2087 in the browser? Replace with your actual IP address of the server..
    0
  • ozora
    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://:2087 in the browser? Replace with your actual IP address of the server..

    the login is invalid sir,what should i do sir?
    0
  • 24x7server
    Hi, What do you see in the location " /usr/local/cpanel/logs " Can you send in the screenshot? Here, refer the below documentation link for logs: The cPanel Log Files - cPanel Knowledge Base - cPanel Documentation
    0
  • ozora
    when i typed # cd /usr/local/cpanel/logs # ls -l i got this sir 47087
    0
  • cPanelMichael
    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.
    0
  • George Fadel
    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.

    hey guys i have the same issue and when we are unable to login to WHM after first setup, we cannot open a support case so kindly open a support case and i will share with you more details to access the server and check it we can login by SSH normally and rebooted the VM and disabled cphulk and still gives us invalid login on first login attempt over ports 2087 where the login screen appears normally waiting for your input
    0
  • cPanelMichael
    Hello @George Fadel, Do you notice any output to /usr/local/cpanel/logs/login_log when the WHM login attempt fails? Thank you.
    0

Please sign in to leave a comment.