Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

How Do I Avoid Error -16,287 When I Start LMGRD Sever on Solaris

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

Problem: When I use lm_startup or lmgrd to start the MATRIXx license server on Solaris I get an error -16,287. When I look in the log file I see
12:33:34 (mtxlmd) Vendor daemon can't talk to lmgrd (Cannot read data from license server (-16,287))
12:33:34 (lmgrd) Vendor daemon died with status 39

What is wrong?

Solution: This problem is caused by the Solaris operating system and the FLEXlm version used with MATRIXx 7.0, MATRIXx 6.3 and earlier. MATRIXx 7.1 and later use a newer version of FLEXlm that does not exhibit this problem. Earlier versions of the MATRIXx license server can still run, but two commands need to be run to set the limits on file descriptors. These commands are different depending on the shell that is being used.

The commands in C-Shell (/bin/csh) are:
#!/bin/csh
limit descriptors 1024
limit -h descriptors 1024

In Bourne Shell (/bin/sh) the commands are
#!/bin/sh
ulimit -n 1024
ulimit -H -n 1024

These commands can be executed in the shell prior to calling lmgrd or lm_startup. Alternatively the commands can be added to lm_startup. The script lm_startup is written in C-Shell so the first set of commands should be used.

Related Links:

Attachments:





Report Date: 10/31/2003
Last Updated: 11/23/2004
Document ID: 32UHBOOH

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