SymptomsAfter upgrading Parallels Virtuozzo Containers for Windows 2003 to version 4.6, the containers do not start, and the following error appears:
Error 0x1 while executing script "on_vps_startup.cmd CTID"
CauseThis issue is caused by two OS template cache files in the VZ_FOLDER\Templates\__cache, e.g. w2k3 and w2k3r2.
Find out which OS template is used by containers using the following command:
C:\>vzlist -a -o veid,templates
- Stop all containers.
- Un-deploy OS templates using the vzpkgdeploy -u templatename command.
Re-deploy OS templates using this article:
1214 [How To] How do I reinstall w2k3 OS template?
Additional informationThe error may also appear in the case of p2v migration. In such case, refer to this article:
9668 Unable to start a container migrated from a physical machine after upgrading PVC to 4.6