Article ID: 1012, created on Oct 6, 2008, last review on Aug 12, 2014

  • Applies to:
  • Virtuozzo containers for Linux

Resolution

ATTENTION! THIS ARTICLE WORKS FOR STANDARD (STD) TEMPLATES ONLY!

There are two ways of restoring a container (CT) which is hacked or cannot be started for some other reasons. Please make sure that you have created a full backup of the container before applying any of the following solutions.

Solution #1:

Warning: It is strongly not recommended to apply this solution on containers based on EZ templates. It might lead to container corruption.

# vzctl recover 101

This command will reinstall the OS template and all application templates which were previously installed on the CT. This action will make it possible to start the broken CT, but it does not give any guarantee that all rootkits are removed, if any.

Solution #2:

# vzctl reinstall 101

This command will create a brand new CT on the same OS template as the broken one, install the same application templates into it, and restore users' credentials. The contents of the old CT will be copied into the /old directory.

Search Words

compromised

recover container

e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF