MATLAB: Do I receive a “CreateProcess error code: 0x6 File=mlm” when starting the network license manager

MATLAB

I checked the license manager log file after starting the service and I see the following:
09:00:31 (lmgrd) License server manager (lmgrd) startup failed:
09:00:31 (lmgrd) CreateProcess error code: 0x6 File= C:\Program
Files\MATLAB\R2010b\etc\mlm.exe
What does this mean and how can I fix it?

Best Answer

This error indicates that your license file has an incorrect path to the MLM binary. In that case the lmgrd binary will look in its own directory for MLM and start it if possible. If there is no MLM binary there, the network license manager will not start.
To resolve this you will need to edit the license file (license.dat) and update the DAEMON line to point to the correct path for your MLM binary. Ex:
DAEMON MLM "C:\Program Files\MATLAB\R2010b\etc\win32\mlm.exe"
NOTE: Use double quotes around a path that contains spaces.
Once updated, restart the license manager to enact the changes.