MATLAB: Does starting the network license manager result in the error message “(lmgrd) license daemon: system error code: No such file or directory”

licenselmgrdMATLAB

When launching lmgrd from shell we get the following error in the log file:
ERROR: 9:30:18 (lmgrd) lmgrd tcp-port 27000
9:30:18 (lmgrd) Starting vendor daemons ...
9:30:18 (lmgrd) license daemon: execute process failed: (./MLM) -T polyspace 10.8 3 -c /usr/local/PolySpace/PolySpace_Common/etc/license.dat
9:30:18 (lmgrd) license daemon: system error code: No such file or directory

Best Answer

This error is caused by a permissions issue.
In the FLEXnet directory, the MLM vendor daemon does not have execution permission.
This issue can be resolved by executing a chmod 755 on MLM and then relaunching lmgrd as follows:
<pathToFLexnet>/lmgrd -c $POLYSPACE_COMMON/etc/license.dat -l ./flexnet.log
Alternatively, this issue may be caused due to missing LSB libraries. See the following article for more information:
Why do I receive error messages indicating license manager utilities cannot be found or are missing libraries on Linux?