Article ID: 113523, created on Mar 22, 2012, last review on May 8, 2014

  • Applies to:
  • Virtuozzo containers

Symptoms

When trying to launch a program inside a Parallels Virtuozzo Containers for Windows container the similar errors are observed:
Windows cannot access the specified device, path, or file.
You may not have the appropriate permissions to access the item.

Or
The application was unable to start correctly (0xc0000142)

Example 1:


Example 2:

Cause

Most likely the container hits virtual memory or number of allowed processes limit:
C:\Users\Administrator>vzlist -a -o ctid,vprvmem,vprvmem.b,numproc,numproc.b

     CTID  VPRVMEM  VPRVMEM.B  NPROC  NPROC.B
      101       15     512.00     11      360
      103      221    1024.00     23      360
      104      499     512.00     99      100
      105       --    1024.00     --      100
      300       --         --     --       --
      301       --         --     --       --

C:\Users\Administrator>

Resolution

Allocate more resources for the container:
vzctl set 104 --save --vprvmem 1024 --numproc 200

No reboot is required.

d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF