Crashing VMware licensing service
While working on a VMware implementation at a client site, we came upon a problem when we wanted to start HA for the ESX cluster. The notification we received was “Unable to aquire licenses because license source is unavailable”. The notification in itself is clear enough, but we did configure the license server and the ESX servers reported to the License server before. So what then could be wrong?
After having a look at the licensing server we noticed that the service kept crashing. Every time we started it, it ran for a few seconds and then it stopped again. The windows event viewer showed us the following event every time the service crashed:
Faulting application lmgrd.exe; version x.x.xxx.x; faulting module lmgrd.exe, version x.x.xxx.x; fault address 0x00002440
After some browsing on the internet we found some ideas we could try. The solution that worked for us was the following:
- Go to the properties of My computer
- Select the Advanced tab
- Open the settings of the Performance section
- Select the Data Execution Prevention
- Add the following 3 files to the exclusion from the “c:\program files\vmware\vmware license server” directory. VMwarelm.exe, lmgrd.exe and lmtools.exe
After these steps we started the license service again and it kept running. Now the command to start the HA on the ESX servers worked too and a few minutes later HA was running whithout any problems.
- Downgrade the vRealize Automation license by Erik Scholten
- How to properly license your infrastructure by Anne Jan Elsinga
- 7 Things You Should Know about licensing Windows 2012 R2 on… by Edwin Weijdema
- Veeam Backup & Replication 7.0 patch 4 released by Erik Scholten
- VMware User Environment Manager released by Anne Jan Elsinga
Sander Martijn is a Technical Professional for Conoscenza in The Netherlands. As a Technical Professional he works for different clients, building, troubleshooting and managing ICT infrastructures. He is a certified VMware VCP-DCV, VCP-DTM, several VSP and VTSP. Since 2015 he has been awarded vExpert status.