Vendor daemon can't talk to lmgrd Error -16,287 on Solaris

This error message appears when you try to launch lmgrd on Solaris with our artwork daemon.

The error message reported by the license manager will look something like this..

7:45:18 (lmgrd) Starting vendor daemons ...
7:45:18 (artwork) FLEXlm version 8.1b
7:45:18 (lmgrd) Started artwork (internet tcp_port 58319 pid 3655)
7:45:18 (artwork) Server started on server for:   ACS55O
7:45:18 (artwork) Vendor daemon can't talk to lmgrd (Cannot read data from
license server (-16,287:22 "Invalid argument"))

Solution

This problem frequently happens on the Solaris operating system 
and it has to do with select() and file descriptors set to > 1024.


Start lmgrd from a shell script
The script should look like:

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


where [...] is 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