OpenVZ Forum


Home » General » Support » *SOLVED* VPS automatic reboot at 4:30 a.m.???
*SOLVED* VPS automatic reboot at 4:30 a.m.??? [message #2174] Thu, 23 March 2006 19:58 Go to next message
wnpaul is currently offline  wnpaul
Messages: 15
Registered: March 2006
Location: Vienna, Austria
Junior Member
Hello,

I installed OpenVZ yesterday with five VPSs, and found this morning that all of them had restarted at 4:30 a.m.

However, I cannot find the cause for this either in crontab entries or in logfiles.

Any clues?


Wolf N. Paul - Doulos Communications
Vienna, Austria

[Updated on: Fri, 24 March 2006 08:01]

Report message to a moderator

Re: VPS automatic reboot at 4:30 a.m.??? [message #2176 is a reply to message #2174] Thu, 23 March 2006 21:50 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Really strange indeed, I can't even guess. We do not have anything like that.

Did your (physical) server rebooted as well? That could explain it.

Take a look at /var/log/vzctl.log -- anything there?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: VPS automatic reboot at 4:30 a.m.??? [message #2177 is a reply to message #2176] Thu, 23 March 2006 22:12 Go to previous messageGo to next message
wnpaul is currently offline  wnpaul
Messages: 15
Registered: March 2006
Location: Vienna, Austria
Junior Member
Nope, the host was not rebooted.

All I find in vzctl.log is a series of entries like this for each VPS:

2006-03-23T04:30:13+0100 vzctl : VPS 206 : Setting CPU limit: 0
2006-03-23T04:30:13+0100 vzctl : VPS 206 : Setting CPU units: 2000
2006-03-23T04:30:13+0100 vzctl : VPS 206 : WARNING: Settings were not saved and will be resetted to original values on next start (use --save flag)

Then they are all reported as stopped/unmounted:

2006-03-23T04:30:20+0100 vzctl : VPS 206 : VPS was stopped
2006-03-23T04:30:20+0100 vzctl : VPS 206 : VPS is unmounted

And finally they all restart again:

2006-03-23T04:32:28+0100 vzctl : VPS 206 : Starting VPS ...
2006-03-23T04:32:28+0100 vzctl : VPS 206 : VPS is mounted
2006-03-23T04:32:28+0100 vzctl : VPS 206 : Adding IP address(es): xx.xx.xx.xx
2006-03-23T04:32:31+0100 vzctl : VPS 206 : Setting CPU units: 1000
2006-03-23T04:32:31+0100 vzctl : VPS 206 : Set hostname: nhvsrv206.somedomain.at
2006-03-23T04:32:31+0100 vzctl : VPS 206 : File resolv.conf was modified
2006-03-23T04:32:31+0100 vzctl : VPS 206 : VPS start in progress...

This is repeated for each of the five VPS (first all of them go through the shutdown, then all of them are reported as stopped, then all of them are restarted).

I will see what happens today.

Regards,

Wolf



Wolf N. Paul - Doulos Communications
Vienna, Austria
Re: VPS automatic reboot at 4:30 a.m.??? [message #2179 is a reply to message #2177] Thu, 23 March 2006 22:20 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Is it possible that somebody did /etc/init.d/vz restart?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: VPS automatic reboot at 4:30 a.m.??? [message #2184 is a reply to message #2179] Fri, 24 March 2006 08:00 Go to previous message
wnpaul is currently offline  wnpaul
Messages: 15
Registered: March 2006
Location: Vienna, Austria
Junior Member
Now this is really embarrassing.

Of course the host WAS rebooted, my contrary assertion yesterday notwithstanding, by a cron job running at 4.30. Don't know why I didn't spot that when I looked for it yesterday.

Sorry to have taken your time.


Wolf N. Paul - Doulos Communications
Vienna, Austria
Previous Topic: Problems compiling kernel 2.6.16
Next Topic: Red Hat Linux 8 Template or Metadata?
Goto Forum:
  


Current Time: Mon Aug 05 23:13:28 GMT 2024

Total time taken to generate the page: 0.03151 seconds