This is a tested workaround for resolving the Vmware Esxi expired license error by restoring the license file.
- Login as root user to Vmware host over ssh login
- Take a backup and Remove the licence.cfg file
[root@localhost:~] rm -r /etc/vmware/license.cfg
rm: remove '/etc/vmware/license.cfg'? yes
- Restore the hidden licence.cfg file
[root@localhost:~] cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg
- To effect the change , restart the vpxa service
[root@localhost:~] /etc/init.d/vpxa restart
watchdog-vpxa: Terminating watchdog process with PID 2099949
vpxa stopped.
vpxa started.
- Logout and login to Vmware Esxi portal . The expired licence error should not be observed now