Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Here’s one for all you VMware ESXi users out there for which I know there are quite a few of you running it in you work or home VMware labs. This issue was first brought to my attention by Stu Radnidge’s article here which also provided a link to this VMware Knowledge based article.
As outlined in the VMware KB article there are a couple of scenarios where you may experience the following error message with ESXi and vCenter Server 4.0:
“Cannot install the vCenter agent service. Unknown Installer error”
This error occurs when:
It should be pointed out that the error message “Cannot install the vCenter agent service. Unknown Installer error” can be caused by a handful of different issues such as this which I have experienced before though in this instance what differentiates it is when looking in the /var/log/vmware/vpx-iupgrade.log file on the ESXi 4.0 host you will see the following – of particular note is the last line which mentions ‘Out of Memory’
Acquiring lock /tmp/bootbank.lck
Copying vpxa.vgz to /bootbank/vpxa.vgz
Editing /bootbank/boot.cfg to add module vpxa.vgz
[90597] 2009-11-30 15:21:49: status = 0
[90597] 2009-11-30 15:21:49: exec /sbin/vmkramdisk vpxa.vgz
Failed to mount archive: Out of memory
The VMware KB article doesn’t go into any real detail on why this error is affecting ESXi instances only (ie: and not ESX) though Stu’s article gives valuable and interesting information as to why – well worth a read for those of you that like to know what is going on under the hood.
If this error does occur to your ESXi host(s) and vCenter Server 4.0 instance then you can expect one or both of the following undesirable results (from the VMware KB article):
After the error, the ESXi host does not display in vCenter Server or stays disconnected.
All attempts to add or reconnect ESXi hosts to vCenter Server fail.
At this stage there isn’t any fix available though VMware Engineering are working on producing one – no ETA at the time of writing this post. Here is the latest KB update on a resolution:
VMware engineering is aware of this issue and is working on a fix. This article will be updated when this fix is available.
There are currently 3 options available to help you bring the host back in to VC Management.
- Contact VMware support and they can provide a temporary workaround to reconnect the host to vCenter. For more information on contacting VMware support, see How to Submit a Support Request.
- Wait for the official fix.
- Reboot the host, then try to add or reconnect it to vCenter Server.
Social comments and analytics for this post…
This post was mentioned on Twitter by Kiwi_Si: New TechHead Postt: http://tinyurl.com/yad5ahq – VMware vCenter agent service does not install or upgrade on ESXi 4.0 hosts…
Rebooting the box only fixes the problem sometimes. Out of 5 ESXi 4.0 boxes I was running, only 2 were fixed by a reboot.
VMware support aren’t very helpful on this issue. I found that if you’re ‘lucky’ enough to have a base 4.0 ESXi server (ie: not upgraded to U1 yet), and upgrade to U1 and the subsequent reboot will fix the problem. This worked on three ESXi boxes I had that would not fix just by rebooting.
My solution is super simple and worked the charm for me.
Simply restart your host and before any VM’s are powered-on try connect again. this should hopefully work to avoid the “Failed to mount archive: Out of memory” error.
Just for interest sake I have a Core i7 920 with 8gb RAM running 1x XP-SP3(1GB Ram) and 1x Server 2008R2(6GB). This leaves 1GB for ESXi 4.
Is there no fix yet? this was posted since 09.
I’m running esxi 4.0 on a usb drive. could this be a factor?