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.

Could not fetch uid or gid

Discussion in 'General Discussion' started by 1c3c0ld, Apr 17, 2008.

Thread Status:
Not open for further replies.
  1. 1c3c0ld

    1c3c0ld Registered

    Joined:
    Apr 17, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    hello
    yesterday some 1 of the support team has installed cpanel for me on my centos server (vps)
    now i get an really frustrating error when i log in with my account (root)

    Code:
    [CENTER][SIZE="4"]
    Internal Server Error[/SIZE]
    
          Could not fetch uid or gid for : root
          
    
          [I]cpsrvd/11.18.3 Server at www.1c3hackers.org [/I][/CENTER]
    i cant find anything on google that would help me further but im suspecting a .htaccess file but i cant find the file :confused:
    if any one knows whats the deal here than i would be very pleased to know the solution

    Kind regards
    vincent
     
    #1 1c3c0ld, Apr 17, 2008
    Last edited: Apr 17, 2008
  2. magickal1

    magickal1 Registered

    Joined:
    Jun 28, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    run this at the console (or ssh)
    /usr/local/cpanel/cpkeyclt

    make sure that there is no error in the output such as an expired license.

    If that doesnt fix it then try

    cd /scripts
    ./upcp --force ; /usr/local/cpanel/cpkeyclt

    That should hook you up. If not then open a ticket with cpanel as its something a lot deeper at that point
     
  3. jpetersen

    jpetersen Well-Known Member

    Joined:
    Dec 31, 2006
    Messages:
    113
    Likes Received:
    4
    Trophy Points:
    18
    I didn't realize this thread was a few days old, but if it helps anyone else having the same issue: there is no "root" login into cPanel ( http://x/cpanel or https://x:2083 ) . cPanel must be logged into with the username that corresponds to the domain.
     
    #3 jpetersen, Apr 21, 2008
    Last edited: Apr 21, 2008
  4. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    16
    I also used the username 'root' by mistake on cpanel login and I also get

    I have run /scripts/upcp --force and also /usr/local/cpanel/cpkeyclt and I have clear the web browser cache .... still throws this error. How can I now login to the cpanel?
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    As jpetersen stated, 'root' is not a valid login for the cPanel interface. You need to login to WHM (via example.com:2086 or example.com/whm) and create an account therein. After doing that, you can login to the cPanel interface using the account you just created.
     
  6. jack01

    jack01 Well-Known Member

    Joined:
    Jul 21, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    16
    ummm...there are already existing cpanel users on the server, but ever since the first time I used root in the cpanel login by mistake I cannot even get the cpanel login prompt, it insists on displaying the error message stated in my earlier post.

    So my question remains, how do I convice cpanel to let me even try to login again?
     
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    That sounds more client side then server side. Check your browser settings and make certain it didn't remember the login details. Many browsers offer this as a feature. Since you are not even receiving the login prompt, that browser feature seems the likely culprit.
     
  8. vidyut

    vidyut Registered

    Joined:
    Jul 13, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Try deleting cookies.
     
  9. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Since this thread is over three (3) years old, it is unlikely that the original poster is still experiencing the same problem. Deleting cookies and clearing the browser cache are valid troubleshooting steps, but since this thread is so old, I am closing it. Anyone experiencing a similar problem should create a new thread or submit a ticket.

    The cause of the message Could not fetch uid or gid for : root is trying to log into cPanel (port 2082 or 2083) as root. You cannot log into cPanel as root (not counting the root override, clicking the cPanel icon in List Accounts in the WebHost Manager). To log into cPanel, you must first log into the WHM, create an account, and then use that account username and password to log into cPanel.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page