Occasionally a license may not be checked back into the pool of available licenses. This document details the steps necessary to release the hung license using the 'lmremove' command.
When a license is checked out, and either the license server or the machine running the software hangs, the license becomes 'hung' and is not made available for use by others until it is released.
Solution or Workaround
Note: This workflow is deprecated after Version 9.3.1, that is, 9.3.1 is the last release of ArcGIS License Manager that will support the lmremove command line utility.
The steps given below require that you be at or remotely logged into the License Manager server.
The example below uses the following information:
Feature - ARC/INFO - This is the license that is hung. User - Username - The user name of the person who checked out the license. Host - SERVERNAME - The host name of the machine that the license was being used on. Port - 27004 - The port the license manager uses to communicate. LM_Server - redoctober - The host name of the License Manager server. Handle - 104 - A unique identifier for the license session.
Using the command line, go to the License Manager directory.
Code: C:\> cd Program Files\ESRI\License
Code: UNIX% cd $ARCHOME/sysgen
Obtain the information for the required fields of the lmremove command by running the license manager status command.
In such cases, it is best to use the lmremove option '-h <feature> <host> <port@LM_Server> <handle>', unless the license manager is pre ArcInfo 7.2.1 or pre ArcView 3.1. When the display is encrypted, it may contain special characters, such as |, (,), ~, which will not be read for their text value. Use the double quotes when encountering such characters. For example: