In few cases , it is experienced in VMware Esxi , after a host server went through a abrupt shutdown due to power outage or any other reasons , after the host is rebooted - administrators will be unable to start a virtual machine which displays below error "Failed to power on virtual machine , License key has expired . Click here for more details"
On clicking for more details , above snapshot will be displayed indicating License key has expired and new valid license has to be installed to use the product. On checking the license details , below is displayed
Solution
- In few cases , a graceful reboot of the host itself is sufficient to come out of the issue
- In few cases , re-installing the license key using Esxi interface solves the issue
- In some cases , to resolve the issue below work around may be attempted from command terminal
Step 1: Power off the VMware appliance virtual machine .
Step 2: Login to the host server using SSH and Execute below command from ROOT user on the the Host server machines ,
rm -r /etc/vmware/license.cfg
cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg
/etc/init.d/vpxa restart
Step 3 : Reboot the VM host
Hope it helps . Have you experienced similar issue in VMware Esxi . Do share your feedback on how it was resolved in the comments section.