OpenVZ+SolusVM - Install cPanel - Root logins suddenly fail

JayFromEpic

Well-Known Member
Apr 2, 2011
218
8
68
Scottsdale
cPanel Access Level
Root Administrator
Twitter
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator

JayFromEpic

Well-Known Member
Apr 2, 2011
218
8
68
Scottsdale
cPanel Access Level
Root Administrator
Twitter
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.
 

bajwha

Registered
Nov 2, 2012
1
0
1
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.
same thing happens with me to but after upgrade plz help me as I have lot of clients on that vps

regards
bajwha
 

adamwood

Registered
Nov 5, 2012
1
0
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...
 
Last edited:

najib

Registered
Jun 20, 2013
1
0
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.
 

chufrog

Member
Apr 15, 2015
8
0
1
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.