Running 'lmutil lmstat' results in "cannot find license file -1,359" error

Technote (troubleshooting)


Problem(Abstract)

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:
    1. Open a Windows command prompt with the run as administrator option.
    2. Run the lmutil lmstat command

  • Add OS system environment variable LM_LICENSE_FILE

    Procedure:
    1. Open Control Panel > System > Advanced system settings to open system properties

    2. Click Environment Variables > Click New in the System variables

    3. Type Environment variable name LM_LICENSE_FILE in the variable name

    4. Type the location of license file in the variable value field.

      For example: C:\Program
      Files\IBM\RationalRLKS\common\rational_server_perm.dat


    5. Open a command prompt

    6. Run the command lmutil lmstat

Related information

Windows Registry Virtualization
User Account Control

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational License Key Server
Command Line Tools

Software version:

8.1.3

Operating system(s):

Windows

Reference #:

1619413

Modified date:

2013-04-03

Translate my page

Machine Translation

Content navigation