MATLAB: Am I receiving license manager error -16 when starting FLEXlm 8.0d on a Solaris 9 machine

MATLAB

I receive license manager error -16 when starting FLEXlm 8.0d on a Solaris 9 machine.

Best Answer

This issue has been corrected in MATLAB 6.5.1 (R13SP1). MATLAB 6.5.1 (R13SP1) is now supported on Solaris 9. If you are using a previous version, see the following workaround:
To change the limit of your file descriptors, add the following line in the SOL2 section of the $MATLABROOT/etc/lmopts.sh script.
ulimit -n 1024
This line can be added anywhere in the SOL2 section as long as it is not in the IF Statement. Note that $MATLABROOT refers to the MATLAB root directory.
If this does not solve the problem, you can also try putting the above ulimit statement in /etc/init.d/lmgrd right before calling lmboot instead of in lmopts.sh.
For Example:
In lmopts.sh file Sol2 section, add the ulimit -n 1024 line following the line beginning with LM_BOOT_FRAGMENT.
#****************************************************************************
# Platform specific section:
#****************************************************************************
#
case "$ARCH" in
sol2)
#----------------------------------------------------------------------------
# LM_ROOT and AUTOMOUNT_MAP originally set by install_matlab
#
LM_ROOT=/home/whsiao/Madmax/R13_Indiv/etc
AUTOMOUNT_MAP=
ARCH="$ARCH"
LM_BOOT_FRAGMENT=/etc/init.d/lmgrd
ulimit -n 1024
#