Flexlm error -16,287:22 "Invalid argument"

A client detected a problem when trying to start the lmgrd license manager on HPUX.

19:16:17 (lmgrd) FLEXlm (v8.2a) started on blade1500 (hp 9000/785) (11/11/2009)
19:16:17 (lmgrd) FLEXlm Copyright 1988-2002, Globetrotter Software, Inc.
19:16:17 (lmgrd) US Patents 5,390,297 and 5,671,412.
19:16:17 (lmgrd) World Wide Web:  http://www.globetrotter.com
19:16:17 (lmgrd) License file(s): /opt/acs.licenses
19:16:17 (lmgrd) lmgrd tcp-port 1701
19:16:17 (lmgrd) Starting vendor daemons ...
19:16:17 (lmgrd) Started artwork (internet tcp_port 49237 pid 3228)
19:16:17 (artwork) FLEXlm version 8.1b
19:16:17 (artwork) lmgrd version 8.2, artwork version 8.1


19:16:17 (artwork) Using options file: "/sw/mentor/config/acs.opt"
19:16:17 (artwork) Server started on blade1500 for:       ACS26OO
19:16:17 (artwork) ACS35OO              ACS55O          ACSIO35
19:16:17 (artwork) ACSIO26              ACS5OO          ACS5I5I
19:16:17 (artwork) ACS5II
19:16:17 (artwork) Report log started (+/sw/mentor/logs/acs.rl).
19:16:17 (artwork) Vendor daemon can't talk to lmgrd (Cannot read data from license server (-16,287:22 "Invalid argument"))
19:16:17 (lmgrd) Vendor daemon died with status 36

Solution

Here is a solution to this problem:

      
1) start lmgrd from a /bin/sh script
2) The script should look like this:

#!/bin/sh
ulimit -n 1024
ulimit -H -n 1024
lmgrd [...]

Where [...] are the lmgrd arguments. This resets the limit to 1024 for lmgrd, which resolves the problem.




ARTWORK CONVERSION SOFTWARE, INC.       Company Profile
417 Ingalls St., Santa Cruz, CA 95060    Tel (831) 426-6163     Fax 426-2824    email: info@artwork.com