Why do I receive "A SERVER line could not be found in your license file" when performing an installation?
50 views (last 30 days)
Show older comments
MathWorks Support Team
on 24 Oct 2018
Edited: MathWorks Support Team
on 13 Jun 2023
When I try to install MATLAB I receive at 99% the following error message:
ERROR: A SERVER line could not be found in your license file. You will have to manually edit the SERVER line in C:\Program Files\MATLAB\R2018b\licenses\network.lic
Accepted Answer
MathWorks Support Team
on 13 Jun 2023
Edited: MathWorks Support Team
on 13 Jun 2023
This error occurs when the user has chosen an unprocessed license.lic within the installer or the “installer_input.txt” for silent installation.
To resolve this issue:
If you are an end user on the network license, contact your administrators and request a copy of the license.dat used by the licenser server.
Once you have the license file you can activate MATLAB or manually edit the SERVER line in C:\Program Files\MATLAB\R200XXx\licenses\network.lic file with the SERVER line information from the license.dat file.
For Silent Installation, the license file specified in the licensePath flag needs to include the server information. The processed license file can be retrieved from the $MATLAB/etc folder (license.dat) or the following lines can be added manually to the license.lic:
Linux & Mac OS X
SERVER {hostname} {HostID} 27000
Windows:
SERVER $Hostname $HostID 27000
The license file names are all relative. For more information on the differences between license files, see the following article.
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!