I have recently been building a test lab with HP Proliant servers, and came up with an interesting problem.
The VC was built successfully on a VM on one of the hosts, and the hosts were all built using the HP custom ESXi 5.0 ISO image. Interestingly, the hosts all had disconnection issues and an error in the logs detailing:
– Installing license
– A general system error occurred: Write failed file:/etc/vmware/vmware.lic
After some searching around, I found this post on VMware Communities describing the problem – essentially the host license is unable to be written to and needs to be removed before a valid license can be used:
…so I thought I’d summarise the solution. Credit to poster ‘sc_2111@vmtn‘ for the solution as posted, via HP Support.
First, check the license.lic file permissions:
-r–r–r– 1 root root 30 Aug 19 13:57 vmware.lic
If they are as above, the fix is required, as the permissions should be ‘600’ or ‘-rw——T’.
# esxcli software vib remove -n hp-esx-license –no-live-install
Removal ResultMessage: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Removed: Hewlett-Packard_bootbank_hp-esx-license_1.0-03
After Power off:
# ls -l /etc/vmware/vmware.lic-rw——T 1 root root 30 Aug 19 01:41 /etc/vmware/vmware.lic
After Connect to VCenter:
# ls -l /etc/vmware/vmware.lic-rw——- 1 root root 29 Sep 8 09:34 /etc/vmware/vmware.lic
Jeremy loves all things technology! Has been in IT for years, loves Macs (but doesn't preach to others about their virtues), loves virtualization (and does shout about it's virtues), and sometimes skis, bikes and directs amateur plays!