Why do I receive License Manager Error -13?

192 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 31 Aug 2021
Edited: MathWorks Support Team on 31 Aug 2021
"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
(NOTE: prior to R2011a, the DAEMON line on Linux/Mac was "DAEMON MLM {$MATLAB}/etc/lm_matlab")
Windows:
SERVER $Hostname $HostID 27000
DAEMON MLM "{$MATLAB}\etc\win{32|64}\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. For R2008a and above, the license file is generally called network.lic and is located in $MATLAB\licenses (where $MATLAB is the MATLAB installation directory). For versions prior to R2008a, the license file will generally be the following:
Windows
$MATLAB\bin\win32\license.dat (for 32-bit MATLAB)
$MATLAB\bin\win64\license.dat (for 64-bit MATLAB)
Linux/Unix/Mac
$MATLAB/etc/license.dat
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:
  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)

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!