MATLAB: Do I see the error “lm_TMW12.vd1: system error code: No such file or directory” in the logfile

MATLAB

I see the following error in my logfile:
14:55:13 (MLM) lm_TMW12.vd1: execv failed: /var/tmp/lm_TMW12.vd1 lm_TMW12.vd1 ns.technion.ac.il 1 4 7 6
14:55:13 (MLM) lm_TMW12.vd1: system error code: No such file or directory
14:55:14 (MLM) The vendor daemon did not receive a response
14:55:14 (MLM) from a child server. Assuming the child died.
14:55:14 (MLM) SIGCHLD received. Killing child servers
14:55:14 (MLM) Removing clients of children14:55:14 (MLM) Done child cleanup
14:55:14 (MLM) lm_TMW12.vd1: execv failed: /var/tmp/lm_TMW12.vd1 lm_TMW12.vd1
ns.technion.ac.il 1 4 7 6
14:55:14 (MLM) lm_TMW12.vd1: system error code: No such file or directory
14:55:15 (MLM) The vendor daemon did not receive a response
14:55:15 (MLM) from a child server. Assuming the child died.
14:55:15 (MLM) Child server failed to respond 5 times, exiting …
14:55:15 (MLM) SIGCHLD received. Killing child servers
14:55:15 (MLM) Removing clients of children14:55:15 (MLM) Done child cleanup
14:55:15 (MLM) IN: "MATLAB" bnehud@ahissar-pc12 (SHUTDOWN)
14:55:15 (MLM) IN: "MATLAB" ervin@max (SHUTDOWN)
14:55:15 (MLM) IN: "MATLAB" ervin@max (SHUTDOWN)
14:55:15 (MLM) IN: "MATLAB" ervin@max (SHUTDOWN)
Also, my License Manager failed suddenly and I can't get it to start back up.

Best Answer

This error in your Network License Manager logfile indicates the the files in /var/tmp somehow got deleted. The /var/tmp directory contains logfiles as well as actual binaries used by the license manager.
You should restart your Network License Manager using these instructions:
1. Bring down the network license manager using the $MATLAB/etc/lmdown command (where $MATLAB is the root MATLAB directory)
2. cd into the /var/tmp directory
3. remove any files that begin with lm_TMW5 or lm_TMW12
4. remove the file lockMLM5 or lockMLM12, if it exists
5. run the command ps -ef | grep lm
6. using "kill -9", kill any processes titled lmgrd, mlm, or that begin with lm_TMW5 or lm_TMW12.
7. Restart the license manger using $MATLAB/etc/lmstart
After this, MATLAB should start properly, barring any unforseen problems.
You shouldn't have to restart the License Manager this way every time, only when you see errors like the following in your logfile.
lm_TMW12.vd1: system error code: No such file or directory