Results 1 to 11 of 11
  1. #1

    Fresh CPanel Install - Can't log in to WHM as root

    Hello helpful experts!

    So I just installed a fresh copy of the latest CPANEL on a freshly formatted Centos 5.4 server, I've installed this on other servers before and never had this problem. When I access the server from my browser and go to server-url:2086, I get the authentication box, but it won't accept my root login. I've tried changing the root password via console with the "passwd" command, but it still won't let me login. I am at my wits end here. Please help.

  2. #2
    Is there any firewall installed in the server? I recommend that you just run.
    iptables -F
    make sure to also run
    /etc/init.d/iptables save

    And give a try.

  3. #3
    check the cpanel error log /usr/local/cpanel/error_log and check if there is any errors there

  4. #4
    Do you have a dedicated server or a vps? Did you contact your server provider about this issue?

  5. #5
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    565
    Receiving the authentication window means this isn't an iptables issue. If you were blocked from port 2086, you wouldn't even get that far. Alternatively, you could try https://server-ip:2087 but that will likely yield the same results if this isn't a firewall issue.

    However, entering correct credentials (remember, both the username "root" and your root password are case-sensitive) and being denied access sounds like brute force protection has been activated. You may want to investigate /usr/local/cpanel/logs/cphulkd.log to see if that is the case.
    David Grega
    cPanel Technical Product Specialist

  6. #6
    Join Date
    Mar 2009
    Location
    InfoPark, Cochin, India
    Posts
    986
    Do you have a valid cpanel license? An invalid/expired cPanel will also not let you to login to your WHM control panel. Verify your license here http://www.cpanel.net/apps/verify/

  7. #7
    Join Date
    Apr 2009
    Location
    England, UK
    Posts
    645
    Your ment to goto https://ip:2087 for the first run

  8. #8
    Join Date
    Jul 2008
    Location
    Eta Carinae
    Posts
    2,672
    Quote Originally Posted by cPanelDavidG View Post
    Receiving the authentication window means this isn't an iptables issue. If you were blocked from port 2086, you wouldn't even get that far. Alternatively, you could try https://server-ip:2087 but that will likely yield the same results if this isn't a firewall issue.

    However, entering correct credentials (remember, both the username "root" and your root password are case-sensitive) and being denied access sounds like brute force protection has been activated. You may want to investigate /usr/local/cpanel/logs/cphulkd.log to see if that is the case.
    If that doesn't work, reinstall cPanel since you have nothing to lose. Although I've never had an issue like this before and have installed cPanel dozens of times at least.

  9. #9
    Join Date
    Apr 2009
    Posts
    79
    Quote Originally Posted by Kishan View Post
    Your ment to goto https://ip:2087 for the first run
    Actually, I have had this not work before due to the fact the certificate had not yet been generated. I always use 2086 for the first run. (No offense intended and I could be wrong

    Change the password via root and then restart cPanel - if it still doesn't work, reinstall cPanel.

  10. #10
    Join Date
    Apr 2009
    Location
    England, UK
    Posts
    645
    Quote Originally Posted by bouncedomains View Post
    Actually, I have had this not work before due to the fact the certificate had not yet been generated. I always use 2086 for the first run. (No offense intended and I could be wrong

    Change the password via root and then restart cPanel - if it still doesn't work, reinstall cPanel.
    I always get the certifcate error but just allowed it and then it goes to cpanel setup. Is there firewall anything enabled on the server? Try stopping all csf/apf/firewall services then try

  11. #11
    Quote Originally Posted by VIPoint View Post
    Do you have a valid cpanel license? An invalid/expired cPanel will also not let you to login to your WHM control panel. Verify your license:
    I'd the same problem and this thread solved it within a minute.
    The cPHulk blocked a lot of hackers and seemed to have closed down.

    So this is definitely a step you should take first.
    1) Make sure running this command as root on the server gives the IP that you expect: lynx -dump ......showip.cgi
    2) Run the following as root on the server: /usr/local/cpanel/cpkeyclt


    Thanks for the tip.
    Last edited by Web Hosting Top10; 04-28-2012 at 07:27 AM.

Similar Threads

  1. Replies: 18
    Last Post: 04-28-2006, 06:10 PM
  2. Replies: 6
    Last Post: 04-12-2006, 03:37 PM
  3. Replies: 2
    Last Post: 11-24-2005, 10:28 PM
  4. Log in as Root/Reseller in Cpanel and still have full rights?
    By jireh in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 05-13-2005, 09:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •