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.

OpenVZ+SolusVM - Install cPanel - Root logins suddenly fail

Discussion in 'General Discussion' started by Yehzo, Sep 30, 2012.

  1. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    Hello everyone,

    I have ran into this problem a couple times on different containers and still cannot figure it out.

    Basically, here is the run down.

    The server is virutalized with OpenVZ with SolusVM panel. I have setup the server completely along with client details and what not.

    I created a container with centos 5 32 bit, the default template WITHOUT cpanel automatically added.

    I logon to the container itself, perform the yum updates and what not and install cPanel which I have done hundreds of times.

    After cPanel is on the container and the initial setup process is finished, it seems the root password just suddenly changes and I cannot figure it out for the life of me.

    I have tried changing the root password via Solusvm as well with no luck. Cant get into ssh or anything.

    Any ideas on to what is causing this? Im lost at this point.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Are you able to get into the node using vzctl enter VEID and change the password on the machine that way?

    I don't know what would cause it either, but the most important part would be to get into the container to see what is going on.
     
  3. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    Thanks for the response Tristan, I ended up wiping the container again to start from scratch. I am going to re-install cPanel and see if I can catch the issue before it happens.
     
  4. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    Hey Tristan,

    What commands would I use to get into the node from ssh to change the password for the container?
     
    #4 JayFromEpic, Sep 30, 2012
    Last edited: Sep 30, 2012
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
  6. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    Also, it happened again. I changed the password via the vzctl command and it still is not working.

    I cannot figure out the issue worth the life of me. I told Solusvm support about it and they are as helpful as a rock. But it only seems to happen when I put cPanel on the vps.
     
  7. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Can you log into the node using the command I asked you about initially, though?
     
  8. JayFromEpic

    JayFromEpic Well-Known Member

    Joined:
    Apr 2, 2011
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Scottsdale, AZ
    cPanel Access Level:
    Root Administrator
    I can logon to the node but I just cant ssh into that particular container. I can execute commands through the node to the container though.

    I am so lost its not even funny. I cannot figure out what is causing this.
     
  9. bajwha

    bajwha Registered

    Joined:
    Nov 2, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    same thing happens with me to but after upgrade plz help me as I have lot of clients on that vps

    regards
    bajwha
     
  10. adamwood

    adamwood Registered

    Joined:
    Nov 5, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I've just had this happen to me on a fresh install on CentOS 6.3 on a Rackspace cloud server.

    After going through the initial setup pages and landing on my dashboard, the next time I clicked I was logged out. The root password for WHM & my server have changed and I cannot login to my server via SSH now.

    EDIT: A server reboot seemed to fix it...
     
    #10 adamwood, Nov 5, 2012
    Last edited: Nov 5, 2012
  11. najib

    najib Registered

    Joined:
    Jun 20, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, The same happened to me, I rebooted several times from the SulusVM that my VPS provider gives me. I also changed password using the SolusVM, but nothing is happening. I believe I need to install fresh, but what happens when I have all my customers in here. Getting locked out of your own system that is live with customers isn't really fun.

    Have cPanel guys figured out what is causing the issue? Since there's a whole bunch of people in this mess I think cPanel should investigate.

    By the way, I am still locked out of my Container and I don't have access to the node so I can't really do anything.... The same never happened with my other 6 OpenVZ containers in the last 2 years.
     
  12. chufrog

    chufrog Registered

    Joined:
    Apr 15, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    HK
    cPanel Access Level:
    Root Administrator
    A bit lately reply.... but anyway, my experience:

    Same case, OpenVZ + cPanel, password not correct....

    For a month trial and error.... come up that:

    hack trail (ssh root) start immediately after you finished the cPanel install (don't trust? check the the secure log please).
    And the root account being locked within 10 short time from time to time.

    My case solution:
    Reboot (you may log in to SSH hopefully).
    Login to WHM, search "force" on menu, and click "cPhulk Brute ...", whitelist yourself.
     
Loading...

Share This Page