MATLAB: Does the error, vendor daemon died with status 241, appear in the lmdebug file

MATLAB

The following error appears in the lmdebug file:
9:43:19 (lmgrd) Vendor daemon died with status 241
9:43:19 (lmgrd) Since this is an unknown status, lmgrd will
9:43:19 (lmgrd) attempt to re-start the vendor daemon.
9:43:19 (lmgrd) REStarted MLM (internet tcp_port xxx pid yyy)
9:43:19 (MLM) Server started on HostName for:TMW_Archive
9:43:19 (MLM) MATLABSignal_ToolboxStatistics_Toolbox
9:43:19 (MLM) Vendor daemon can't talk to lmgrd (Cannot connect to license server Connection refused)

Best Answer

This error message can occur when the TCP/IP port number in the license file is not specified properly. Please be sure that the SERVER line of your license file contains a proper unused TCP/IP port number. The SERVER line should look as follows:
SERVER HostName HostID TCP/IP_PortNumber
For example,
SERVER snoopy 62a5cba1 27000
To change a port number to the SERVER line, do the following:
1. stop the license manager using LMDOWN from $MATLABROOT\etc
(where $MATLABROOT is the MATLAB root directory)
2. change the port number in the SERVER line of the license.dat file
3. save the license.dat file
4. restart the license manager using LMSTART from $MATLAB\etc
For more information on what you can change your port number to, see the Related Solution listed at the bottom of the page.
In addition, this error can be received if you have not checked the /etc/hosts file. See the Related Solution listed at the bottom of the page.