Why do I receive License Manager Error -13?

224 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
Jan
Jan on 31 Dec 2013
Edited: David on 17 Jan 2017
The links in this answer are all dead. Please format the text properly, such that the < and > characters appear without an interpretation. A link to "Solution 1-18PYZ" would be useful. Thanks.
Walter Roberson
Walter Roberson on 7 Mar 2023
network.lic files go on the client machine, and do not have INCREMENT lines. The INCREMENT lines go in the network.dat file on the server.

Sign in to comment.

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

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!