MATLAB: Does the license manager log file state “(MLM) EXITING DUE TO SIGNAL 27” after starting the network license manager

MATLAB

After starting the network license manager, I check the license manager log file and it has the following error message:
9:47:51 (MLM) No features to serve, exiting
9:47:51 (MLM) EXITING DUE TO SIGNAL 27
What does this error mean and how can I resolve this issue?

Best Answer

  • This error will occur when the network license manager cannot access the activation information on the license file. This could be caused by the following:
    • Incorrect syntax of the SERVER and DAEMON lines in the license.dat file
    • Port conflict with another service or vendor.
    • The license file expired.
    1. The syntax for the SERVER and DAEMON lines is as follows:
    SERVER {hostname} {HostID} 27000 {port number}
    DAEMON MLM {$MATLAB}/etc/MLM
    Verify that this information is accurate in your license file.
    This error will also occur if your license file has wrapped INCREMENT lines for your products.
    To resolve this, you will need to create the appropriate line endings for your license file. In general, the license file will have line endings before each time the word "INCREMENT" appears, and line endings after each backslash "\".
    For example, the following license format is invalid and would cause this issue:
    INCREMENT MATLAB MLM 20 01-feb-2025 10 2DB9ABACDDEDDDF247 \
    VENDOR_STRING=vi=0:at=200:lo=CN:ei=123456 HOSTID=ID=123456 \
    DUP_GROUP=UH asset_info=123456 ISSUED=10-Oct-2008 SN=123456INCREMENT SIMULINK MLM 20 01-feb-2025 1 D455234ADDCCFFDFD4FFD232 \
    VENDOR_STRING=vi=0:at=200:lo=CN:ei=123456 HOSTID=ID=123456 \DUP_GROUP=UH asset_info=123456 ISSUED=10-Oct-2008 SN=123456
    Instead, your license file should have the following format:
    INCREMENT MATLAB MLM 20 01-feb-2025 10 2DB9ABACDDEDDDF247 \
    VENDOR_STRING=vi=0:at=200:lo=CN:ei=123456 HOSTID=ID=123456 \
    DUP_GROUP=UH asset_info=123456 ISSUED=10-Oct-2008 SN=123456
    INCREMENT SIMULINK MLM 20 01-feb-2025 1 D455234ADDCCFFDFD4FFD232 \
    VENDOR_STRING=vi=0:at=200:lo=CN:ei=123456 HOSTID=ID=123456 \
    DUP_GROUP=UH asset_info=123456 ISSUED=10-Oct-2008 SN=123456
    2. If you have FLEXnet licenses from other vendors, check that they are not using the same port number. The port number is found on the SERVER line of the license file. If there is a conflict, change the port number in one of the license files, and make a matching change on the clients.
    If you specify both lmgrd port number on the SERVER line and vendor-daemon port number on the VENDOR line they must be different.
    3. Look on the INCREMENT line or the license file for the expiration date. If the license file has expired update the license file or contact the License Administrator on the license to update the license file.
    How do I update the license file on the license server?
    If your license has not expired: # Open LMTools and on the Config Services tab verify that the license file path (second box) points to the correct license file. # Change it if necessary and click Save Service. # Then go to Start/Stop/Reread and click Start Server. # Close and reopen LMTools, and check Server Status.
    Once you have made the appropriate changes in the license file, you will need to restart the license manager in order for the update to occur. Once restarted, the error should not occur.
    If you still continue to see this issue, contact Installation Support here:
    Be sure to include your license.dat file when contacting support.