Failed to enter Container

ISSUE: I am unable to enter into one of the vps inside virtuozzo node using “vzctl enter CTID” command. Getting the error “enter failed. Failed to enter container”.

root@virtuozzo# vzctl enter 1330
enter failed
Failed to enter Container 1330

REASON : VZFS symlinks of the Container private area to system and application templates are somehow corrupted.

FIX: Use the vzctl recover CTID option to re-write the original symlinks to the Container private area.

The vzctl recover command restores the original VZFS symlinks of the Container private area to the OS and/or application template(s) as they were at the time when the Container was created and/or when the application template(s) were added to the Container. This command does not deal with any user files on the Container:

root@virtuozzo# vzctl recover 1330
Optimizing Container private area…
vzquota : (warning) Quota is running for id 1330 already
Setting quota …
Container is mounted
Setup slm memory limit
Setup slm subgroup (default)
Container is unmounted
Recover OS template: redhat-el5-x86
Creating Container private area (redhat-el5-x86)

Recovering Container completed successfully

As per the parallels documentation the recover option doesn’t touch the user data files, so there is no problem of data missing.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s