Subject: Why do I receive "License Manager Error -15"?

Problem Description: I receive the following error: License checkout failed. Cannot connect to license server. License Manager Error -15.

Solution: A License Manager Error -15 usually indicates that the license manager is not running, or that a client machine cannot properly communicate with the server machine running the license manager.

NOTE: If you are running Mac OS X under an Individual license, the MathWorks now offers a standalone license file for Mac OS X. If you are running a license manager, you may resolve this issue by updating to the standalone license file. Administrators and asset managers can access the license codes via the MathWorks website through the access login account.

If you receive this error on a client installation of MATLAB, check the following: ========================= 1. Can the client computer communicate with the license manager server? This can be verified by pinging the license manager machine with the following command in a command prompt or terminal window:

pinghostnamewherehostnameis the hostname of the server machine.

If this test fails you may have a networking error that is preventing the client from contacting the license manager server. Contact your network administrator to resolve this issue.

2. Make sure that the SERVER line of the license.dat on the client matches that of the license file on the server itself. If the SERVER line differs it may cause the client to contact the wrong server/port.

3. Check if there is a firewall(s) between the MATLAB client and the license server machine. The license manager communicates on two ports that must be opened through the firewall(s). For more information about these ports, see the related Solution (Why does the MATLAB license manager use two TCP ports?) linked below. If there is a firewall running, contact your System Administrator to open the necessary ports in the firewall.

If you receive this error on the license manager installation, check the following: =========================

1. Is the FLEXnet service running on the license manager server? If not, restart your license manager and try to run MATLAB again. Often, this alone eliminates this error.

For more information on how to restart the license manager, see the Related Solution linked below.

2. Make sure the TCP port numbers at the end of the SERVER and/or DAEMON lines in your license.dat file are not already being used by another application.

The license manager operates on two ports, one specified in the line that starts with the word 'SERVER' and another specified on the line that starts with the word 'DAEMON'.

Example:

SERVER My_Host My_HostID 27000DAEMON MLMto the DAEMON fileport=1711 If the 'DAEMON' line has no "port=XXXX", it is using a random open port and you will need to only worry about the port in the SERVER line. In this example you will need to check ports 27000 and 1711. Consult your network administrator for help identifying ports in use. For more information about these ports, see the Related Solution (What ports does the MATLAB license manager use, and how can I set those ports?) linked below.

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐