Tuesday, March 24, 2009

arcgis clear hung license

Hey, am sure many of you have come across arcgis licenses stuck in flexlm without releasing for other users. Sometimes this happens when PCs are shutdown too fast and Arcmap crashes.

Here are steps to clear ArcGIS licenses (only) in flexlm license servers:

1. Run lmstat from cmd to list all ESRI licenses in use:
lmutil lmstat -a -c C:\flexlm\ESRI\arcgis.lic

2. The result is something like this -

Users of ARC/INFO: (1 licenses available)
X:%#($1:0.0 (v9) (/ ), start Wed 5/1/03 10:38


3. Run another cmd to kill the specific ESRI Feature (i.e. ArcInfo, Spatial Analyst or ArcView licenses)

lmutil lmremove -c C:\flexlm\ESRI\arcgis.lic -h ARC/INFO SERVER001 27004 1204

lmutil lmremove -c -h

This will help remove hung licenses without rebooting the license server or disrupt other live users.

Labels: