Virtuozzo Containers – Cannot Lock Container

virtuozzo

Normalmente, cuando nos ocurre esto, es que algún proceso está bloqueando la gestión del contenedor, algo que se ha quedado a medias, etc. Se procede así:

VE is locked when some operation (backup, migration, start / stop, etc.) with this VE is in progress. You can determine which process is holding VE #101 using the following command on the hardware node:

# cat /vz/lock/101.lck

You can kill that process if needed. Make sure that the process is really killed. If there is no process with that PID on the node, just remove the lockfile.

Pero me encontré con un container que no respondía a esta solución, no había ningún proceso que respondiese al fichero, es más, borramos el fichero y intentamos reiniciar y lo mismo. Entramos dentro del container y ejecutamos reboot, pero se quedó en estado mounted. Conseguimos levantarlo así:

# vzctl --skiplock start VZID

Links
http://kb.parallels.com/fr/6834

Leave a Reply

Your email address will not be published. Required fields are marked *