Problem: License Server Status: NOT RUNNING for ArcGIS License Manager 10.x
License Server Status: NOT RUNNING for ArcGIS License Manager 10.x
The NOT RUNNING status can happen after installing the ArcGIS License Manager 10.x software or after the software has been running successfully. The cause can be a variety of issues such as firewalls, anti-virus or anti-spam applications, port assignments or availability, environment variables, remnants from prior installations, or the presence of prior license.dat files.
Solution or Workaround
The solution can involve one or more of the following steps.
Before trying the solutions described below, check the Debug log file for error messages. This file can be accessed from the License Server Administrator > Diagnostics, or from the <Install location> \ArcGIS\License10.x\bin\lmgrd9.log.
- Disable the firewall. Refer to Related Information section below for the steps to configure the ArcGIS License Manager to work through a firewall by editing the service.txt file.
- Disable anti-virus protection.
- Run the Netstat –a command to see which active TCP connections are open and running on a networked host. This command lists the protocols in use, the local address and port number, the destination address and port number and the state of the connection. This command helps to identify if any of the license manager ports ranging of 27000-27009 are being used by other processes.
Run the following from a command prompt. The -a operator is for the all option.
- Verify whether the LMGRD can be run from the command line manually.
Navigate to the directory path based on the operating system, and then run the command to manually start the license manager service:
C:\> cd 'C:\Program Files\arcgis\license10.1\bin'
C:\> cd 'C:\Program Files (x86)\arcgis\license10.1\bin'
Manually start the license manager service:
C:\> lmgrd.exe -c service.txt
If this starts successfully, then the issue is most likely in the Windows Registry or in the environment variables. Refer to the next step when addressing the environment variables.
- Verify if there are any environment variables set up:
1) Click Start > Control Panel > System.
2) In the System panel, click Advanced system settings.
3) In the System Properties dialog box, select the Advanced tab.
4) Select the Environment Variables button.
5) In the Environment Variables window, scroll through the System variables and see if there are any environment variables set up for the ArcGIS License Manager such as 'ARCGIS', 'ESRI', and 'LM', or anything that looks like it could have come from Esri or Flexera.
6) Select the variable and click the Delete button to remove any unnecessary variables.
- Verify whether there are any remnants from a prior License Manager installation:
From the software installation location, depending on the operating system:
C:\Program Files\ ArcGIS
C:\Program Files (86)\ArcGIS
C:\Program Files\Common Files\ESRI
C:\Program Files (86)\Common Files\ESRI
C:\Documents and Settings\<user profile>\Application Data\ESRI
From the Windows Registry, depending on the operating system:
HKEY_LOCAL_MACHINE > Software > ESRI
HKEY_LOCAL_MACHINE > Software > WOW6432Node > ESRI
HKEY_LOCAL_MACHINE > Software > Microsoft > Windows > CurrentVersion > Uninstall --> check the registry keys
HKEY_CURRENT_USER > Software > ESRI
HKEY_CURRENT_USER > Software > WOW6432Node > ESRI
HKEY_CLASSES_ROOT > Installer > Products --> check the registry keys
- Run the Process Monitor tool:
Download the ProcMon tool from the Windows Sysinternals page.
1) Select Download Process Monitor.
2) Select Open.
3) Double-click ProcMon.exe, and select Run.
4) Select Agree to accept the license terms.
5) From the Filter menu, select Filter.
6) Under 'Display entries matching these conditions', select 'Process Name', select 'contains', and enter arcgis.exe. For the last drop-down select 'Include', and click the Add button.
7) Click Apply and OK.
8) Install ArcGIS License Manager 10.1.
9) Once the install completes, and the status in the License Server Administrator is verified as 'NOT RUNNING', save the log within ProcMon; select File > Capture Events (Ctrl+E) to stop tracing.
10) Within ProcMon on the machine, select File > Save (Ctrl+S) to save the trace into a '.pml' file.
Saving the log file
- Delete the Trusted Storage:
Deauthorize the software first if this is an available option.
Follow these steps to delete the trusted storage:
1) Stop the License Manager service.
2) Navigate to the FLEXnet folder within the path of the appropriate operating system:
Windows XP and 2003 Server
C:\Documents and Settings\All Users\Application Data\FLEXnet
Windows Vista, 7 and Server 2008
3) Delete the 'ArcGIS_xxxxxxxx_tsf.data' file or delete all of the ArcGIS files within the FlexNet folder.
4) Start the License Manager services.
- Configure ArcGIS Desktop 10 through a firewall
- Edit an environment variable
- Configure the ArcGIS License Manager to work through a firewall