Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

WHM login stopped working

Discussion in 'General Discussion' started by dmgens, Apr 10, 2007.

  1. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    156
    Folks,

    The WHM login has stopped working, I have searched this forum for any answers but found none. The login_log in /etc/local/cpanel/logs reads:

    75.161.45.240 - root [10/Apr/2007:13:45:43 -0700] "GET / HTTP/1.1" whm: user password hash is missing from system (user probably does not exist)
    75.161.45.240 - root [10/Apr/2007:14:02:56 -0700] "GET / HTTP/1.1" whm: user password hash is missing from system (user probably does not exist)
    75.161.45.240 - root [10/Apr/2007:14:03:08 -0700] "GET / HTTP/1.1" whm: user password hash is missing from system (user probably does not exist)

    I get this also for cpanel login attempts. My guess is that a link or a file is missing. So that the WHM can't find the user, but I have no idea what file it is.

    I checked /etc/passwd and it seems ok.

    Does anyone have any information on this, or things I can try to correct it?:(
     
  2. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Make sure that you have /etc/shadow in place and accessible.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    156
    checked: no /etc/shadow how do I get it back or recreate it?
     
  4. Parahosting

    Parahosting Well-Known Member

    Joined:
    Apr 6, 2007
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    156
    I don't think it's possible to get it back. Use "man locate shadow" and see where it is. It might have moved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    156
    Thanks All

    You all are very helpful. I did a pwconv and the shadow file was made and things are good now. I have no idea what ate it as I was not doning anything in /etc. In fact I was only checking on a user's bandwidth when it went south. Oh well thanks
     
  6. Murtaza_t

    Murtaza_t Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Please do not take this lightly.. the server might have been compromised.. try and tighten the security.. and if possible ask someone to have a security check.. This is possibly a PHP security prob.. howevere I am not sure..

    first thing that I would suggest is apache mod_security.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice