After installing XenApp into a container, it fails to start with the following error:
C:\>vzctl start 101 Starting container ... Parallels Virtuozzo Containers API function call 'VzkrnlStartVps' failed dwErr=0x00000287 Container 101 is not started
XenApp driver is blocked from loading inside containers by PVC. The driver is marked as critical, so inability to load it prevents the container from starting.
XenApp wasn't fully tested for compatibility with Parallels Virtuozzo Containers.
There are 2 solutions in this case:
1) Contact Parallels Support to whitelist XenApp drivers. This solution will help to start the container with XenApp fully functionaly, however we cannot guarantee that it will work without any other problems.
2) Disable "picadd" and "picadm" services - container will be able to start without them.
To do it, mount the container :
vzctl mount <CTID>
Modify services startup through the registry:
reg add HKLM\vz<CTID>\MACHINE\SYSTEM\CurrentControlSet\Services\picadd /v Start /t REG_DWORD /d 0x4 /f reg add HKLM\vz<CTID>\MACHINE\SYSTEM\CurrentControlSet\Services\picadm /v Start /t REG_DWORD /d 0x4 /f
Then you will be able to start the container:
vzctl start <CTID>