Overview
When the GFI EventsManager service fails to start, the following error is logged:
Service cannot be started. The handle is invalid.
Environment
All Supported Environments
Root Cause
The GFI EventsManager 2011 cannot access the SQL database during startup of the service or GFI EventsManager 2012 may continually ask for license verification and will eventually stop the services if the licensing file has become corrupt or unusable.
Resolution
For GFI EventsManager 2011 and Previous Versions
This error indicates problems regarding the SQL database. Ensure that:
- The SQL server is configured within the GFI EventsManager UI.
- The SQL server used is up and running.
- The credentials used to access the SQL server have sufficient permissions.
For GFI EventsManager 2012 and Newer Versions
Note: Ensure the license count has not been exceeded.
Check to see if the GFI EventsManager license is valid by doing the following:
- Stop the GFI EventsManager services.
- Check the licensing information in the GFI EventsManager Console under General > Licensing.
- If the license shows that it is invalid, check the toolcfg_licensing.xml file located in
C:\Program Files (x86)\GFI\EventsManager\Data
by default. If this file is 0KB or corrupted, then it will need to be recreated and replaced. See article EventsManager Licensing Error: 'Invalid license key!' for information on recreating this file. - Once the toolcfg_licensing.xml file has been recreated, open the GFI EventsManager UI.
- Navigate to General > Licensing and enter your existing license again.
- Restart the EventsManager services.