Symptoms
An attempt to run Lmstat –a, displays the following error message at a command prompt:
[Detecting lmgrd processes…]Error getting status: Cannot find license file (-1,359:2 "No such file or directory")
Background
By default, the license file path must be listed in the registry. If it does not appear in the registry, running certain License Administration Commands produces an error at the command line.
The license file path must be listed in the following registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\Flexlm License Manager
The following screen shot is an example of the license file path NOT listed in the registry.
Resolution
Complete one of the following procedures to run the command without errors:
Run the Citrix License Path Utility. Use the Knowledge Center article CTX111344 – [Document Not Found] to resolve this issue.
Or
Complete the following procedure (applicable License Server Version) if you do not want to run the utility:
License Server Version Earlier than 11.9
- Run the License Administration Command, lmpath, to point the license server to a license file.
Syntax
lmpath –add CITRIX "path to license file"
For example:
lmpath –add CITRIX “C:\Program Files\Citrix\Licensing\MyFiles\citrix_startup.lic”
If the command is successful, the following message appears at the command prompt:
C:\Program Files\Citrix\Licensing\LS>lmpath -add CITRIX "C:\Program Files\Citrix\Licensing\MyFiles\citrix_startup.lic"
lmpath - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
New path for CITRIX_LICENSE_FILE: C:\Program Files\Citrix\Licensing\MyFiles\citrix_startup.lic
- Run the following command:
LMSTAT –a
C:\Program Files\Citrix\Licensing\LS>lmstat –a
lmstat - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
Flexible License Manager status on Fri 3/16/2012 13:56
[Detecting lmgrd processes...]
License server status: 27000@FTLRDRINEHAR03
License file(s) on FTLRDRINEHAR03: C:\Program Files\Citrix\Licensing\MyFiles\citrix_startup.lic:C:\Program Files\Citrix\Licensing\MyFiles\
FID__85ce725_1340f77d330__77e2.lic:C:\Program Files\Citrix\Licensing\MyFiles\FID__85ce725_1340f77d330__77ec.lic:
FTLRDRINEHAR03: license server UP (MASTER) v11.6
Vendor daemon status (on FTLRDRINEHAR03):
CITRIX: UP v11.6
Feature usage info:
License Server Version 11.9 and Later
For License server 11.9 and later, the LMPATH command is no longer available.
- Run LMSTAT –c “Path to license file”.
C:\Program Files (x86)\Citrix\Licensing\LS>lmstat -c "C:\Program Files (x86)\Citrix\Licensing\MyFiles\citrix_startup.lic"
lmstat - Copyright (c) 1989-2010 Flexera Software, Inc. All Rights Reserved.
Flexible License Manager status on Fri 3/16/2012 15:18
[Detecting lmgrd processes...]
License server status: 27000@FTLRDRINE2K8DC
License file(s) on FTLRDRINE2K8DC: C:\Program Files (x86)\Citrix\Licensing\MyFiles\citrix_startup.lic:C:\Program Files (x86)\Citrix\Licensing\MyFiles\
license_20110718145359.lic:C:\Program Files (x86)\Citrix\Licensing\MyFiles\license_20110718150847.lic:C:\Program Files (x86)\Citrix\Licensing\MyFiles\
license_20110810154338.lic:
FTLRDRINE2K8DC: license server UP (MASTER) v11.9
Vendor daemon status (on FTLRDRINE2K8DC):
CITRIX: UP v11.9
Note: You can also run the “lmstat.exe -c @localhost –a”.
C:\Program Files\Citrix\Licensing\LS>lmstat.exe -c @localhost –a
lmstat - Copyright (c) 1989-2011 Flexera Software, Inc. All Rights Reserved.
Flexible License Manager status on Mon 5/13/2013 12:56
[Detecting lmgrd processes...]
License server status: 27000@localhost
License file(s) on localhost: C:\Program Files\Citrix\Licensing\MyFiles\citrix_startup.lic:C:\Program Files\Citrix\Licensing\MyFiles\FID_23f605f9_13bb92ce44e__2b18.lic:
localhost: license server UP v11.10
Vendor daemon status (on DC):
CITRIX: UP v11.10
More Information
CTX103955 – [Document Not Found]
CTX102833 – [Document Not Found]
CTX106282 – Citrix Access Suite Licensing Guide
CTX108664 – Licensing: Using License Administration Commands