Why do I receive License Manager Error -12?

127 次查看(过去 30 天)
I receive the following error:
ERROR: License checkout failed. Invalid return data from license server. License manager error -12
The result of PING, TELNET, and NSLOOKUP all work and return the expected output. The system environment variable LM_LICENSE_FILE is pointing to the correct license file. However, MATLAB still returns License Manager Error -12. Another computer with the exact same configuration of hardware and software works fine.

采纳的回答

MathWorks Support Team
MathWorks Support Team 2024-11-18,0:00
编辑:MathWorks Support Team about 3 hours 前
This error typically occurs when the client machine is unable to communicate with the hostname listed in the client license file because the data that the license server is returning to the client is not the data that is expected.
Some potential causes of this issue are:
  • Improperly formatted network.lic file or environment variable
  • Pointing to the wrong Server
  • The Network License Manager is misconfigured
  • Reinstalling MATLAB
To resolve this, check that the network.lic and environment variable include the proper format. If the issue persists after the formatting is confirmed, confirm that the network.lic hostname is pointing to the correct Server. If the correct Server is being pointed to, you may need to change the hostname listed in the SERVER line of the client license file to the fully qualified name or the IP Address of the license server machine instead. 
If you have access to the License Manager hosted on the Server, please check your License Manager configurations to confirm that the License Manager is properly setup and running on your Server so that client machines can properly connect. Verify that the license.dat SERVER line is reflected on the network.lic that is provided to client machines.
If this issue is occuring after having reinstalled MATLAB, please make sure that the [MATLABRoot\licenses] directory includes the proper network.lic. Make sure to replace the network.lic with the most recent network.lic that has been provided by your License Administrator.
For information about license file location and the format of the client license file, see the articles below:
Where are the license files for MATLAB located?
  1 个评论
Walter Roberson
Walter Roberson 2017-9-22
The license.lic or license.dat or license.net files on the client machines are text files. You can edit them with any text editor.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by