PROBLEM

Licenses are not released after closing an ArcGIS session

Last Published: November 24, 2020

Description

After closing an ArcGIS session, the license is not returned to the pool of available licenses.

Note:
This article pertains to ArcGIS versions 8.x and 9.x. Later versions of ArcGIS may contain different functionality, as well as different names and locations for menus, commands and geoprocessing tools.
Note:
The information in this article applies to retired products, ARC/INFO and ArcInfo Workstation.

Cause

This is typically caused by inconsistencies or errors in network communication. Devices on the network such as switches, routers or firewalls that interfere with the communication between ArcGIS and the license manager, can also cause this problem.

Solution or Workaround

The license manager initiates two TCP connections to check a license in or out; one which defaults to TCP port 27005 (8.x and earlier) or 27004 (9.0 and later), and one on a random TCP port. This dynamic/random second port can be blocked by routers, switches, or firewalls on the network between the license server and the client. To alleviate this problem, set the license manager to run on a static second port, and then open this port on all intervening network devices.

  1. Use a text editor to edit the license files to reflect the static second port. These files are located in C:\Program Files\ESRI\License directory for Windows and ArcGIS 8.x, and in C:\Program Files\ESRI\License\Arcgis9x for Windows and 9.x. They are in $ARCHOME/sysgen for UNIX. Add a PORT=#### to the VENDOR line in each .lic or .dat file as below:
Code:
VENDOR ESRI PORT=####

ArcGIS 9.x users will appear as follows:

Code:
VENDOR ARCGIS PORT=####
Note:
 For Windows license managers, each of the *.lic files must be edited identically. 
  1. Save the file.
  2. Stop the License Manager.
    For Windows procedure, refer to How To: Stop the ESRI License Manager using LMTOOLS.
    For UNIX procedure, refer to How To: Stop or start the Esri License Manager on UNIX.
  3. Start the License Manager:
    For Windows procedure, refer to the following Knowledge Base article for the procedure, How To: Start ESRI License Manager using LMTOOLS.
    For UNIX procedure, refer to How To: Stop or start the Esri License Manager on UNIX.
  4. Ensure that all devices on the network between the client and the server are set to allow the port specified in Step 1.
Note:
Contact your system or network administrator for assistance.

Article ID:000006136

Software:
  • ArcMap 8 x
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic