Portal Home > Knowledgebase > Articles Database > Openvz auto restart
Openvz auto restart
Posted by devonblzx, 04-28-2011, 12:39 PM |
Any idea why this would happen?
I shut down a server, but if I don't disable it, it starts back up within a few seconds. It is becoming a pain for me. It doesn't look like any cronjob are installed for openvz.
I never have had this issue before so I am wondering if they installed a new feature I have to look into disabling.
Thanks.
|
Posted by rds100, 04-28-2011, 12:43 PM |
Or maybe just the client is hitting the "boot" button in the control panel (if there is one)?
|
Posted by devonblzx, 04-28-2011, 12:51 PM |
No, not that. There is a control panel but the VPS I was shutting down was one of our test ones, so no client has control of it. It seems like a new OpenVZ function but I can't find any documentation on it.
|
Posted by care4server, 04-28-2011, 12:58 PM |
do
vzctl stop --fast
vzctl set --save --disable yes
and it wont boot up again
|
Posted by devonblzx, 04-28-2011, 01:01 PM |
Yes but I'm looking for a way around that. I never used to have to disable my servers in order to get them to stay shut down.
|
Posted by rds100, 04-28-2011, 01:02 PM |
How do you stop the server? vzctl --stop or "shutdown" from the control panel? Or "halt" from within the VPS?
|
Posted by devonblzx, 04-28-2011, 01:08 PM |
vzctl stop, and poweroff inside the vps itself. It automatically restarts upon both.
|
Posted by rds100, 04-28-2011, 01:11 PM |
Maybe it is the control panel noticing that a VPS that should be UP is not and is booting it again? Try to shutdown from the control panel.
By the way, which control panel is this?
|
Posted by devonblzx, 04-28-2011, 01:22 PM |
Nothing your familiar with, but I know for a fact that isn't the case. It must be something with OpenVZ itself because it only does it on the newly installed servers.
|
Posted by rds100, 04-28-2011, 01:28 PM |
Ok, look at /var/log/vzctl.log maybe it can provide some hint. Also check the version of vzctl on a new node and an old node and see if they differ. vzctl --version
|
Add to Favourites Print this Article
Also Read
2+ IPs Needed (Views: 759)