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.

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:
    6
    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:
    16
    Location:
    Earth
    cPanel Access Level:
    Website Owner
    Make sure that you have /etc/shadow in place and accessible.
     
  3. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    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:
    6
    I don't think it's possible to get it back. Use "man locate shadow" and see where it is. It might have moved.
     
  5. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    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:
    16
    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.
     
Loading...

Share This Page