Troubleshooting
Problem
Attempts to verify license status on Windows 2008 by running the command 'lmutil lmstat' results in the error "cannot find license file -1,359" when using IBM Rational Common License 8.1.3.
Symptom
The full error message is as follows:
# lmutil lmstat
[Detecting lmgrd processes...]
Error getting status: Cannot find license file. (-1,359:2 "No such file or directory")
# lmutil lmpath -status
lmutil - Copyright (c) 1989-2009 Flexera Software, Inc. All Rights Reserved.
Other Vendors:
C:\flexlm\license.dat
Cause
Windows Registry Virtualization as part of User Account Control (UAC) might cause this error.
Diagnosing The Problem
Verify if the following command works on the host:
lmutil lmstat -a -c <<port number@license server host name>>
Example: lmutil lmstat -a -c 27000@host1;27000@host2;27000@host3
Resolving The Problem
Resolve the error by applying one of the following solutions:
- Run lmutil command as Administrator
Procedure: - Open a Windows command prompt with the run as administrator option.
- Run the lmutil lmstat command
- Add OS system environment variable LM_LICENSE_FILE
Procedure: - Open Control Panel > System > Advanced system settings to open system properties
- Click Environment Variables > Click New in the System variables
- Type Environment variable name LM_LICENSE_FILE in the variable name
- Type the location of license file in the variable value field.
For example:C:\Program
Files\IBM\RationalRLKS\common\rational_server_perm.dat
- Open a command prompt
- Run the command lmutil lmstat
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21619413