X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



2198 Rate this article:
No rating

How to restart the license server if the database file is already in use and locked by another process

The license server may stop delivering licenses if  the database file is already in use and locked by another process. 

The error may if a client hasn't closed the connection to the  database file and another client tries to access it. For example, if a client crashed. 

The below article is proposing a fix for this behavior.

How the error is caught in thelicense server log file:
...
2018-02-07 01:31:43,829 INFO Successfully handled request for feature sv-idl 8.7 count=1 correlationID=dd83230c-dc72-4b1b-87a9-8240899fd1fd. 
2018-02-07 01:32:06,370 INFO Successfully handled request for feature sv-idl 8.6 count=1 correlationID=12cfe0b3-ed25-4944-8a53-15a43fcfc86b. 
2018-02-07 01:32:11,173 INFO Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3): org.eclipse.persistence. 
exceptions.DatabaseException 
Internal Exception: org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process: /var/opt/flexnetls/idl_lmgrd/fl exnetls_licenses.lock.db". Possible solutions: close all other connection(s); use the server mode [90020-190] Error Code: 90020 

… 
 

How to fix this behavior:


1. Delete the 'lock' file specified in the error message, for example, "/var/opt/flexnetls/idl_lmgrd/flexnetls_licenses.lock.db"

2. Restart the license server. This would close all current connections. 

 

 

----------------------------

updated by BC on 7/20/2020

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »