MATLAB Installation Guide for Windows |
License Manager Error |
License Manager Error -2: Invalid License File Syntax |
License Manager Error -3: Cannot Connect to a License Server |
License Manager Error -5: License Checkout Failed. No Such Feature Exists. |
License Manager Error -8: Invalid (Inconsistent) License Key |
License Manager Error -9: Invalid Host. License Checkout Failed. |
License Manager Error -10: Feature Has Expired |
License Manager Error -11: License Checkout Failed. Invalid Date Format in License File. |
License Manager Error -12: License Checkout Failed. Invalid Return Data from License Server. |
License Manager Error -13: No SERVER Line in License File |
License Manager Error -14: Cannot Find SERVER Hostname in Network Database |
License Manager Error -15: Cannot Connect to License Server |
License Manager Error -16 |
License Manager Error -18: License Checkout Failed. License Server Does Not Support This Feature. |
License Manager Error -21: License File Does Not Support This Version |
License Manager Error -25: License Server Does Not Support This Version of This Feature |
License Manager Error -39: No License for Feature |
License Manager Error -83: FLEXlm Version of Client Newer Than Server |
License Manager Error -84: Missing Options File |
License Manager Error -88: License Checkout Failed |
License Manager Error -96: Server Node is Down or Not Responding |
License Manager Error -97: License Checkout Failed |
lmlog.txt
, in the $MATLABflexlm
directory. To get more information about a FLEXlm license manager problem, see the FLEXlm End User Manual, available in PDF format in $MATLABflexlmenduser.pdf
or go to the GLOBEtrotter Software, Inc. Web site, www.globetrotter.com
. Note You can also go to the support page on the MathWorks Web site, www.mathworks.com , and find information about a particular license manager error by searching the solution database by error number. For example, to find information about License Manager Error -15, enter 'License Manager Error -15' in the search engine. |
$MATLABbinwin32license.dat)
has the following format. USE_SERVER
line.SERVER
line in your License File is incorrect or missing.- Make sure that the
SERVER
line in your License File matches theSERVER
line in the License File on your license server. On client systems, the License File is$MATLABbinwin32license.dat
; on your license server, the License File is$MATLABflexlmlicense.dat
, where$MATLAB
is the root MATLAB installation directory.
Note You must restart the license manager after making any changes to the License File on the license server. |
- Make sure the TCP port number at the end of the
SERVER
line in your License File is not already being used by another application. On NT systems, run thenetstat -p tcp
command fromC:WINNTsystem32
. If the local system appears on the Foreign Address list, then the port number listed is being used. Change the port number on theSERVER
line to a port that is not being used. FLEXlm has reserved ports in the range27000
to27009
. Restart the license manager after making this change. - Make sure that you do not have multiple vendor daemons (
mlm.exe
) running. Check your FLEXlm log file ($MATLABflexlmlmlog.txt) for the error 'Multiple MLM Servers Running'.
#
, SERVER
, DAEMON
, or INCREMENT
. Note You must restart the license manager after making any changes to the License File on the license server. |
$MATLABflexlmlicense.dat
, has been corrupted. This can happen if the License File was edited or if an e-mail program inserted extraneous tabs or carriage returns in the INCREMENT
lines. INCREMENT
lines in your License File. If the dates in the license file have already passed, contact the Customer Service department at The MathWorks (through the Web or through e-mail at [email protected]
). When contacting The Mathworks, include your License Number and the Host ID of your license server. - Click on the Start menu.
- Choose Settings.
- Click on Control Panel.
- Choose Date/Time.
INCREMENT
line is missing. Compare the INCREMENT
lines in your license file with the INCREMENT
lines in your original license e-mail. They must be exactly the same. SERVER
and DAEMON
lines are missing from the license.dat
file. The installer adds these lines to the License File as part of the installation process. SERVER
line to the fully qualified name:- Change the
SERVER
line in alllicense.dat
files on your network, which are located in$MATLABbinwin32
, to have the fully qualified name of the server. - Restart the license manager on the server. (See Starting and Stopping the License Manager.)
- Open the file,
C:WinNTsystem32driversetchosts
- Add the hostname of your license server to this file. You can find your license server information in the
SERVER
line of yourlicense.dat
file.
- For example, if your
SERVER
line looks like this,Add the following line to your TCP/IP Hosts file.
- Save the changes to the TCP/IP Hosts file.
SERVER
line in the License File. This line should be added by the installer during the installation process.$MATLABflexlmlicense.dat
, adding the SERVER
line. See License File for information about the format and contents of the SERVER
line.Matlab 2016 License Key
SERVER
line in the license.dat
file on your client system matches the hostname on the SERVER
line in your license.dat
file on your license server. Edit the SERVER
line in the client license.dat
file, if necessary. SERVER
line, is listed in the C:WINNTsystem32driversetchosts
file for Windows NT.lmgrd
and mlm
, are running. You can check this via the Task Manager, which can be accessed by pressing the Ctrl+Alt+Delete key sequence. Run these commands on the system on which your license manager is running.mlm.exe
, is incorrect in your License File DAEMON
line. See License File for an example of a DAEMON
line. $MATLABbinwin32
).- Make sure the
INCREMENT
lines in yourlicense.dat
file are exactly as they appeared in the original license e-mail you received from The MathWorks. - Make sure the
DAEMON
line in yourlicense.dat
file identifies the correct license manager daemons, especially if you have multiple MATLAB installations on your system. - Make sure the TCP port number at the end of the
SERVER
line in yourlicense.dat
file is not already being used by another application. Use the commandnetstat
to show the status of all ports that are in use.
- On NT systems, run the
netstat -p tcp
command fromC:WINNTsystem32
. If the local system appears on the Foreign Address list, then the port number listed is being used. Change the port number on theSERVER
line to a port that is not being used. FLEXlm has reserved ports in the range27000
to27009
. Restart the license manager after making this change.
- Make sure the Host ID or IP Address listed in the commented section in the
license.dat
file matches the Host ID or IP Address in theSERVER
line. If you are trying to run the license manager on a different system than the one that the license was generated for, you will need to get a new License File from The MathWorks.
license.dat
file with new Release 13 passcodes, you still need to install FLEXlm 8.0d from the MATLAB CD. SERVER
line in the client system License File should be the same as the SERVER
line found in the License File on the license server. license.dat
file with your new license passcodes. Possible Problem | Resolution |
You are not listed as a user in your options file. | Check your options file and make sure your username is on the INCLUDE line for the product you are trying to use.On UNIX computers, the installer creates the options file, named $MATLABflexlmMLM.opt . |
DAEMON
line in your license.dat
file. For a UNIX server, the DAEMON
line for all license files should resemble this sample (the pathname of your daemon will be different). DAEMON
line for all license files should read $MATLAB
is your MATLAB installation directory. After changing your License File, be sure to restart the license manager.- Make sure the installer created an options file during the installation procedure. The full path of the options file is
$MATLABflexlmMLM.opt
, where$MATLAB
is your MATLAB installation directory. See Setting Up Network Named User Licensing for more information. - Make sure that the
DAEMON
line in your License File includes the full pathname of your options file. Check the processed License File,$MATLABflexlmlicense.dat
. If theDAEMON
line wraps onto a second line, make sure there is a line continuation character () at the end of the first line. - Make sure you are listed as a valid user of the product you are trying to use.
- Obtain the current IP address for your server. If you are on UNIX or Linux, use the
ifconfig
command. On a PC running Windows, you can use theipconfig
command at a DOS prompt. - Edit your hosts file and change the IP address for your server's entry to be the correct IP address. On UNIX or Linux systems, edit the
/etc/hosts
file. On Windows NT and Windows 2000 systems, edit theC:Winntsystem32driversetchosts
file.
Problems During Installation | Troubleshooting an Installation That Uses Dongles |
Installation Guide for Department Desktop / Lab Desktop / Network based License Inside the IISc Network
Before You Install
Make sure you have filled the TAH Desktop Computer Form for Network based license online and have obtained a Mathworks account. If you have not done this then, please go to the following link and follow the instructions there.
Then you can continue with the procedure given below.
|
Consider disabling virus-checking software and Internet security applications on your system for the duration of the installation process. These applications can slow down the installation process or cause it to appear unresponsive (or to hang). |
Step 1: To Start the Installation
Matlab 2016 License Key
Installation of Matlab through network
The next steps are as given below in the installation section. |
|
Please Note: Linux users will have to copy the installation setup files to their PC, so its recommended that your system has a minimum of 15 GB at least to complete the Installation successfully.
The next steps are as given below in the installation section. |
Step 2: Choose “Use a File Installation Key” and click on Next
Step 3: Review the License Agreement
Step 4: Specify the File Installation Key
SERC NOTE: For File Installation Key, Kindly send a mail to “[email protected]” using your Department Email-Id , with your Name and ID Card Number(SR Number). Also mention the version of Matlab required . (i.e 2015b/2016a/2016b/2017a/2018a/2018b) |
Select the I have the File Installation Key for my license option, enter the File Installation Key, and click Next. |
Step 5: Specify the Installation Folder
Specify the name of the folder where you want to install MathWorks products.Accept the default installation folder or click Browse to select a different one. If the folder doesn’t exist, the installer creates it. On Macintosh systems, the installer puts the MATLAB application package, MATLAB_R2018b.app, in the Applications folder, by default. When specifying a folder name, you can use any alphanumeric character and some special characters, such as underscores. The installer will tell you if the name you specified includes any characters that are not permitted in file names. If you make a mistake while entering a folder name and want to start over, click Restore Default Folder. After making your selection, click Next. |
Step 6: Specify Products to Install
You can specify which products you want to install in the Product Selection dialog box. This dialog box lists all the products associated with the license you selected or with the File Activation Key you specified. In the dialog box, all the products are preselected for installation. If you do not want to install a particular product, clear the check box next to its name. After selecting the products you want to install, click Next to continue with the installation. |
Step 7: Specify Path to License File
SERC NOTE: Click here for downloading the license file, extract the file ‘license.rar’ to get the ‘license.dat’ file. (Please ignore this step if you have already copied the license.dat file.) Please do not modify this file in any way. Users are required to update local DNS setting as indicated in http://nitss.serc.iisc.ernet.in/docs/configuration/dns_settings/HowToChangeDNS.html |
Microsoft 2016 License Key
Specify the location of your License File and click Next. |
Step 8: Confirm Your Choices and Begin Installation
Before it begins copying files to your hard disk, the installer displays a summary of your installation choices. To change a setting, click Back. To proceed with the installation, click Install. |
As it copies files to your hard drive, the installer displays a status dialog box to show the progress of the installation. |
Step 9: Complete the Installation
When the installation successfully completes, the installer displays the Installation Complete dialog box. Click on Finish. |
SERC NOTE: For Network Concurrent License Activation of Matlab Make sure you are able to resolve matlab-tah.serc.iisc.ernet.in Command at the prompt is #nslookup matlab-tah.serc.iisc.ernet.in Response you must get is #Server: 10.16.25.15 Address: 10.16.25.15#53 matlab-tah.serc.iisc.ernet.in. Name: matlab-tah.serc.iisc.ernet.in Address: 10.16.4.41 Use following url for setting DNS. http://nitss.serc.iisc.ernet.in/docs/configuration/dns_settings/HowToChangeDNS.html |
Note : If you get license fetch error, please make the following entry in /etc/hosts 10.16.4.41 matlab-tah matlab-tah.serc.iisc.ernet.inFor windows path is: C:WindowsSystem32driversetchosts For Linux path is: /etc/hosts |