Article ID: 113555, created on Mar 27, 2012, last review on May 9, 2014

  • Applies to:
  • Virtuozzo containers for Windows

Symptoms

MSSQL Server installation inside a Parallels Virtuozzo Containers for Windows container fails with an error:
The following error has occurred: The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if Windows Installer is not correctly installed. Contact your support personnel for assistance.

Cause

Most likely container hit numproc or vprvmem 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.

965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF