The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
vCenter Server agent service does not install or upgrade on ESX/ESXi 4.0 hosts (1016262)
If you try to add an ESXi 4.0 host to vCenter Server 4.0 or 4.0 Update 1, remove and then re-add an ESXi 4.0 host back to vCenter Server 4.0 or 4.0 Update 1, or upgrade vCenter Server from 4.0 to 4.0 Update 1, you may experience these symptoms:
vCenter Server reports the error:
Cannot install the vCenter agent service. Unknown Installer error
After the error, the host does not display in vCenter Server or stays disconnected.
All attempts to add or reconnect the host to vCenter Server fails.
The /var/log/vmware/vpx-iupgrade.log file on the ESXi 4.0 host contains the error:
Acquiring lock /tmp/bootbank.lck
Copying vpxa.vgz to /bootbank/vpxa.vgz
Editing /bootbank/boot.cfg to add module vpxa.vgz
 2009-11-30 15:21:49: status = 0
 2009-11-30 15:21:49: exec /sbin/vmkramdisk vpxa.vgz
Failed to mount archive: Out of memory
Install the VMware ESXi 4.0, Patch Release ESXi400-200912001 patch prior to upgrading to vCenter Server 4.0 Update 1. For more information, see VMware ESXi 4.0, Patch Release ESXi400-200912001 (1016462).
Note: If Cisco Nexus 1000v is installed on these ESXi hosts, do not install this patch at this time. For more information, see Cannot use VMware Update Manager to upgrade Nexus 1000V from 4.0(4)SV1(1) to 4.0(4)SV1(2) on ESX / ESXi hosts running certain patch levels (1017069).
If you have already installed vCenter Server 4.0 Update 1 prior to installing the patch:
- Schedule downtime for the virtual machines running on the affected ESXi hosts.
- Install the patch.
- Reboot and add the hosts to vCenter Server.
Note: VMware recommends that you apply the patch. However, if you cannot schedule downtime for the virtual machines on the affected hosts, contact VMware support for a temporary workaround. For more information on contacting VMware support, see How to Submit a Support Request.
To resolve this issue in ESX 4.0 hosts, check if the host has sufficient free disk space.
To check the available disk space on a host, run this command:
For more information, see Investigating disk space on an ESX or ESXi host (1003564).
If you encounter the Cannot install the vCenter agent service. Not enough space to install agent error, see Adding an ESXi Host into vCenter Server fails with the error: Cannot install the vCenter agent service. Not enough space to install agent (1031005).
For more information on log files,see:
- Upgrading to ESX 4.0 and vCenter 4.0 best practices
- VMware ESXi 4.0, Patch Release ESXi400-200912001
- Cannot use VMware Update Manager to upgrade Nexus 1000V from 4.0(4)SV1(1) to 4.0(4)SV1(2) on ESX / ESXi hosts running certain patch levels
- Location of ESXi 3.5-4.1 log files
- 在 ESX/ESXi 4.0 主机上无法安装或升级 vCenter Server 代理服务
This Article Replaces
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.