OpenVZ Forum


Home » General » Support » How to enter a "Not Running Container" (Unable to start init, probably incorrect template)
Re: How to enter a "Not Running Container" [message #46195 is a reply to message #46162] Tue, 01 May 2012 18:45 Go to previous message
potatosalad is currently offline  potatosalad
Messages: 3
Registered: May 2012
Junior Member
If you can't get things fixed on the container, you could try the following...

CTID=336
mount proc /vz/private/$CTID/proc -t proc
mount sys /vz/private/$CTID/sys -t sysfs
mount --bind /dev /vz/private/$CTID/dev
chroot /vz/private/$CTID


You should be chrooted into the container's root with everything mounted that you would need to start up mysqld manually and dump whatever you need.

Once you're done, just make sure to exit out of the chroot and unmount everything...

umount /vz/private/$CTID/dev
umount /vz/private/$CTID/sys
umount /vz/private/$CTID/proc


Hope that helps!
 
Read Message
Read Message
Previous Topic: Fedora 16 containers problem
Next Topic: I can't install heartbeat in VPS openvz
Goto Forum:
  


Current Time: Sat Sep 20 04:19:59 GMT 2025

Total time taken to generate the page: 0.06340 seconds