Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why Do I Get "Cannnot Find License File" When I Run Lmstat or Lmdiag?

Primary Software: MATRIXx
Primary Software Version: 6.3
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am using lmstat and lmdiag to troubleshoot a license problem with MATRIXx. However when I run the command it returns: Error getting status: Cannot find license file -1,359:2 (No such file or directory). The file license.dat is in the ISILM folder of the MATRIXx installation. Does this mean that there is a problem with the installation?

Solution:
It is not necessarily a problem. When running lmstat and lmdiag you need to use the -c option to specify the location and name of the license file. This is needed even when the license file is in the same directory as lmstat. For example:
    lmstat -c "C:\Program Files\National Instruments\MATRIXx\ISILM\License.dat"
The quotes are needed because the path includes spaces.

If the current working directory is the same as the license file then you need only specify that the license file name is license.dat. For example:
    lmstat -c license.dat
See the MATRIXx System Administrators Guide for more information on troubleshooting license issues.

Related Links:
Product Manuals: MATRIXx Current Revision
Search: MATRIXx License KnowledgeBases
KnowledgeBase: What Should I Find Out Before Requesting Technical Support on MATRIXx Licenses Issues?

Attachments:





Report Date: 01/07/2004
Last Updated: 01/22/2008
Document ID: 356794OH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit