OpenVZ Forum


Home » General » Support » *SOLVED* Console Messages?
Re: Console Messages? [message #9464 is a reply to message #9449] Thu, 04 January 2007 14:50 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

The way to go here is to replace /sbin/init binary inside a VE with your own script, for example like this:

mv /sbin/init /sbin/init.real
cat << EOF > /sbin/init
exec /sbin/init.real > /tmp/init.log 2>&1
EOF
chmod 755 /sbin/init


When (re)start a VE and watch its /tmp/init.log file (for example: tail -f /vz/root/NNN/tmp/init.log. When you have finished your debugging, do not forget to move the real init binary back.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* 32bit vs. x86-64bit ?
Next Topic: *UPDATED* networking Problem venet / veth
Goto Forum:
  


Current Time: Wed Oct 16 06:13:22 GMT 2024

Total time taken to generate the page: 0.04880 seconds