Why do I receive License Manager Error -13?

203 views (last 30 days)
When I start MATLAB I receive the following error:
ERROR: License Manager Error -13.
No SERVER lines in license file

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Sep 2022
Edited: MathWorks Support Team on 21 Sep 2022
"License Manager Error -13" indicates that the SERVER and/or DAEMON lines are missing from the license file. 
The SERVER and DAEMON lines are added to the "license.dat" file when the network license manager is installed.
These lines should appear just before the INCREMENT lines in your license.dat file.
NOTE: If you are installing the network license manager for PolySpace products, you will have to manually encode these lines.
To add these lines manually, see the following example SERVER and DAEMON lines.
 
Linux & Mac OS X:
SERVER {hostname} {HostID} 27000
DAEMON MLM {$MATLAB}/etc/glnxa64/MLM
Windows:
SERVER $Hostname $HostID 27000
DAEMON MLM "{$MATLAB}\etc\win64\mlm.exe"
$HOSTNAME is the hostname of the license server
{HostID} is the HostID of the license server {$MATLAB} is the root MATLAB directory on your license server
The license file on the client machine varies depending upon operating system and version. The license file is generally called network.lic and is located in $MATLAB\licenses (where $MATLAB is the MATLAB installation directory).
NOTE: Once you have made changes to your license file, be sure to restart the license manager for these changes to take effect. For more information on how to restart the license manager, see the following Related Articles:
How do I start or stop the Network License Manager? 
  2 Comments
Scott
Scott on 3 Apr 2014
Jan,
Good catch. We've updated the formatting and the links in this answer.
-Scott

Sign in to comment.

More Answers (1)

Shashi Kant
Shashi Kant on 8 Dec 2021
Do you have a sample file?

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!