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
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.