OpenVZ Forum


Home » General » Support » Ubuntu 7.10 & 8.04 fail to reboot or shutdown
Re: Ubuntu 7.10 & 8.04 fail to reboot or shutdown [message #30752 is a reply to message #30745] Fri, 06 June 2008 07:22 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


it start first to shut down VE 102, and then VE 101.



I guess it looks through /proc/vz/vestat.

Ok, if somebody stops one of your VE then I guess /etc/init.d/vz scripts starts working but why it doesn't stop the second one... Have you any chance to investigate deeply?
There is stop_ves() function in /etc/init.d/vz script. Could you possibly put any debug messages there to make sure that it tries to stop your VEs.
It would be useful to find out the values of the appropriate variables there.
There are several ways to do that:
we can use either simple "echo" function or "set -x"
Here is the command that should stop your VEs:
$VZCTL --skiplock stop $veid >/dev/null 2>&1 &

For example, we can don't redirect its output to dev/null
Anyway any information would be very appreciated.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cPanel + OpenVZ ?
Next Topic: iptables help please
Goto Forum:
  


Current Time: Tue Aug 26 10:25:23 GMT 2025

Total time taken to generate the page: 0.07808 seconds