MATLAB Installation Guide for Unix    

License Manager Error Messages

This section provides information about some of the more common license manager errors, listed in this table by error number.

License Manager Error
License Manager Error -2: Invalid License File Syntax
License Manager Error -3: Cannot Connect to a License Server.
License Manager Error -5: License Checkout Failed. No Such Feature Exists.
License Manager Error -8: Encryption Code in License File Is Inconsistent
License Manager Error -9: Invalid Host
License Manager Error -10: Feature Has Expired
License Manager Error -11: Invalid Date Format in License File
License Manager Error -12: Invalid Returned Data from License Server
License Manager Error -13: No SERVER Line in License File
License Manager Error -14: Cannot find SERVER Hostname in Network Database
License Manager Error -15: Cannot Connect to License Server
License Manager Error -16: Cannot Read Data from License Server
License Manager Error -18: License Server Does Not Support This Feature
License Manager Error -21: License File Does Not Support This Version
License Manager Error -25: License Server Does Not Support This Version of This Feature
License Manager Error -31: Feature Not Yet Available
License Manager Error -39: No License for Feature
License Manager Error -83: FLEXlm Version of Client Newer Than Server
License Manager Error -84: Missing Options File
License Manager Error -88: License Checkout Failed
License Manager Error -96: Server Node is Down or Not Responding
License Manager Error -97: License Checkout Failed

To get more information about a FLEXlm license manager problem, see the FLEXlm End User Manual, available in PDF format in $MATLAB/etc/enduser.pdf or go to the GLOBEtrotter Software, Inc. Web site, www.globetrotter.com. You can also go to the support page on the MathWorks Web site, www.mathworks.com, and find additional information about a particular license manager error.

License Manager Error -2: Invalid License File Syntax

This error typically indicates that there is a problem in your License File.

Possible resolutions:

On client systems, make sure your License File has the following format.

Note that there should be a carriage return immediately following the USE_SERVER line.

License Manager Error -3: Cannot Connect to a License Server.

This error can occur if the SERVER line in your License File is incorrect or missing.

Possible resolutions:

License Manager Error -5: License Checkout Failed. No Such Feature Exists.

This error usually indicates that you are trying to use a product for which you are not licensed.

Possible resolutions:

License Manager Error -6: No TCP "License" Server Exists

This error can occur if a SERVER line does not specify a TCP port number, and the TCP license service does not exist in /etc/services.

Possible resolutions:

License Manager Error -8: Encryption Code in License File Is Inconsistent

The passcode in an INCREMENT line does not match the other data in the license file. The log file, usually named /var/tmp/lm_TMW.log, should indicate the specific INCREMENT line where it found bad codes in your License File, $MATLAB/etc/license.dat.

Possible resolutions:

License Manager Error -9: Invalid Host

The host ID specified in the License File does not match the node on which the software is running.

Possible resolutions:

License Manager Error -10: Feature Has Expired

This error indicates that one or more of your license keys has expired.

Possible resolutions:

License Manager Error -11: Invalid Date Format in License File

This error indicates that the start date or the expiration date in the License File is invalid. This can happen if the expiration dates in the License File have been changed.

You can also get this error if the space character between the number of users field and the 20 digit encryption code in the INCREMENT line is missing. Compare the INCREMENT lines in your license file with the INCREMENT lines in your original license e-mail. They must be exactly the same.

This error can also occur if the SERVER and DAEMON lines are missing from the license.dat file. The installer adds these lines to the License File as part of the installation process.

License Manager Error -12: Invalid Returned Data from License Server

This error occurs when incompatible daemons are running. Most often this error is caused by doing an upgrade installation of MATLAB in the same directory as the previous version where the daemons were not shut down before the update was installed. If the daemons are not shut down, then an update of MATLAB will not replace the daemon files.

Possible resolutions:

License Manager Error -13: No SERVER Line in License File

This indicates that there is no SERVER line in the License File. This line should be added by the installer during the installation process.

To remedy this problem, run the installer again or manually edit the License File, $MATLAB\flexlm\license.dat, adding the SERVER line. See License File for information about the format and contents of the SERVER line.

License Manager Error -14: Cannot find SERVER Hostname in Network Database

The gethostbyname() system call failed for the SERVER name in the License File. The license server and the client running MATLAB are in different domains. The local hostname listed in the License File cannot be resolved on the remote domain.

To fix this problem, perform this procedure:

  1. Place an alias in the license server's local host table for the fully qualified name, since all domains (including the license server) must be able to resolve the fully qualified name for the license server through the host table, DNS, or Yellow Pages.
  2. Verify that the server name can be resolved by using telnet to log in remotely to the server computer (using the fully qualified name) from itself and from a client. If the telnet connection succeeds, then the fully qualified name is resolvable.
  3. Insert the fully qualified name for the server on the SERVER line of the License File.
  4. Invoke $MATLAB/etc/lmstart to force the license manager to reread the License File.

License Manager Error -15: Cannot Connect to License Server

The license manager could not connect to the vendor daemon on the SERVER node. This error is displayed when starting MATLAB.

Possible resolutions:

License Manager Error -16: Cannot Read Data from License Server

This error indicates that the path to the MATLAB vendor daemon, mlm.exe, is incorrect in your License File DAEMON line. See License File for an example of a DAEMON line.

License Manager Error -18: License Server Does Not Support This Feature

The feature has expired (on the server), has not yet started, or the version is greater than the highest supported version.

Possible resolution:

License Manager Error -21: License File Does Not Support This Version

If you are getting this error on your license server, make sure you have installed the version of FLEXlm included with Release 13. Release 13 License Files will not work with the older FLEXlm versions.

If you have updated an existing license.dat file with new Release 13 passcodes, you still need to install FLEXlm 8.0d from the MATLAB CD.

If you are getting this error on one of your client systems and not on the server, make sure the License File on the client is in the following format.

The SERVER line in the client system License File should be the same as the SERVER line found in the License File on the license server.

Also, make sure you are using your Release 13 license and not a license from a previous release.

License Manager Error -25: License Server Does Not Support This Version of This Feature

This error indicates that you are trying to run MATLAB 6.5 with an old license. You must update your license.dat file with your new license passcodes.

If you do not have your Release 13 license, contact Customer Service at The MathWorks.

License Manager Error -31: Feature Not Yet Available

The current date is before the feature start date. Check the log file for the name of the feature.

Possible resolutions:

License Manager Error -39: No License for Feature

You are not listed as a user in your options file.

Possible resolutions:

License Manager Error -83: FLEXlm Version of Client Newer Than Server

This error message usually indicates that the version of the license manager on the client system is newer than the license manager on the server system. When MATLAB starts, the license file is pointing to the wrong version of the license manager.

To correct the problem, change the path of the DAEMON line in your license.dat file. For a UNIX server, the DAEMON line for all license files should resemble this sample (the path of your daemon will be different).

For a PC server, the DAEMON line for all license files should read

where $MATLAB is your MATLAB installation directory. After changing your License File, be sure to restart the license manager.

License Manager Error -84: Missing Options File

This error typically indicates one of these conditions:

Possible resolutions:

License Manager Error -88: License Checkout Failed

This error indicates that your system clock has been set incorrectly. Check that your system date and time are correct.

License Manager Error -96: Server Node is Down or Not Responding

This error can occur if you are running DHCP (to obtain a dynamically assigned IP address) on your license server. MATLAB cannot connect with the License Manager because it uses TCP/IP protocols for communication and your IP address is changing.

To fix this problem, follow this procedure.

  1. Obtain the current IP address for your server. If you are on UNIX or Linux, use the ifconfig command. On a PC running Windows, you can use the ipconfig command at a DOS prompt.
  2. Edit your hosts file and change the IP address for your server's entry to be the correct IP address. On UNIX or Linux systems, edit the /etc/hosts file. On Windows NT and Windows 2000 systems, edit the C:\Winnt\system32\drivers\etc\hosts file.

License Manager Error -97: License Checkout Failed

This error is often caused by trying to run both MATLAB 5.3 and MATLAB 6.5 on the same system with different license managers. If this is the case, run both copies of MATLAB with the same License File. See Running Multiple Versions of MATLAB for more information.

If you are not trying to run MATLAB 5.3 but only want to run MATLAB 6.5, make sure you have installed FLEXlm version 8.0d from the Release 13 CD. MATLAB 6.5 will not run with an older version of the license manager.


  Overriding the Default Choice of BLAS Library MATLAB Directory Structure