OpenVZ Forum


Home » General » Support » *SOLVED* VZ fails to start cleanly on reboot
Re: VZ fails to start cleanly on reboot [message #9553 is a reply to message #9534] Tue, 09 January 2007 14:08 Go to previous messageGo to previous message
tchipman is currently offline  tchipman
Messages: 28
Registered: June 2006
Junior Member
Hi,

Yes - this is consistent behaviour. we had another power fail last night (insane!) and the behaviour is identical. Virtual hosts didn't auto-start, but login as root I was able to issue a "restart" with the init script which brought up the virtual hosts just fine.

I'm trolling the logfile as per your request, and I have trouble finding anything which cites specifically OpenVZ. best hits I've got are shown below:


Jan  8 18:25:57 hydra kernel: Virtuozzo Fair CPU scheduler
Jan  8 18:25:57 hydra kernel: Built 1 zonelists


I can't see anything in my /var/log/boot.log either.

The best thing I can find, as per my original post, is logged in /var/log/vzctl.log, where I see:


CONTROLLED SHUTDOWN UNDERWAY - ENDING:
2007-01-08T18:06:52-0400 vzctl : VE 236 : VE is unmounted

POWER IS RESTORED, MACHINE COMES UP ON ITS OWN:
2007-01-08T18:30:01-0400  venetclean : VE 236 : VE died, clear IPs:
2007-01-08T18:30:01-0400  venetclean : VE 237 : VE died, clear IPs:
2007-01-08T18:30:01-0400  venetclean : VE 238 : VE died, clear IPs:
2007-01-08T18:30:01-0400  venetclean : VE 239 : VE died, clear IPs:

I CONNECT AS ROOT REMOTELY AND RESTART VZ SERVICE:
2007-01-08T18:55:42-0400 vzctl : Setting CPU units: 1000
2007-01-08T18:55:42-0400 vzctl : WARNING: Settings were not saved and will be resetted to original values on next start (use --save flag)
2007-01-08T18:55:42-0400 vzctl : VE 236 : Starting VE ...
2007-01-08T18:55:42-0400 vzctl : VE 236 : VE is mounted
2007-01-08T18:55:42-0400 vzctl : VE 236 : Adding IP address(es): 129.XXX.XXX.236
2007-01-08T18:55:46-0400 vzctl : VE 236 : Setting CPU units: 22327
2007-01-08T18:55:46-0400 vzctl : VE 236 : Set hostname: polyp.phys.XX.XY.ca
2007-01-08T18:55:46-0400 vzctl : VE 236 : File resolv.conf was modified
2007-01-08T18:55:46-0400 vzctl : VE 236 : VE start in progress...

OTHER VZHOSTS COME UP FINE AS PER THIS ONE SHOWN ABOVE (there are 5 vzhosts on this machine in total)


It appears from the vzctl.log that an attempt is made to bring up all of the virtual hosts, but then errors result ending with "VE Died Clear IPs" for each host, one after the other...

If you can make suggestions about other logging I should be able to observe, it would be appreciated. Hopefully (?) what is above is of some use (?)

Thanks for your help with this,

Tim Chipman
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: ipsec in openvz?
Next Topic: *SOLVED* Set default software on new VE
Goto Forum:
  


Current Time: Wed Sep 17 09:23:07 GMT 2025

Total time taken to generate the page: 0.17261 seconds