Why do I receive License Manager Error -13?
224 views (last 30 days)
Show older comments
MathWorks Support Team
on 21 Apr 2011
Commented: Walter Roberson
on 7 Mar 2023
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
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
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.
More Answers (0)
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!