- Improperly formatted network.lic file or environment variable
- Pointing to the wrong Server
- The Network License Manager is misconfigured
- Reinstalling MATLAB
Why do I receive License Manager Error -12?
127 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2009-7-27
编辑: MathWorks Support Team
about 3 hours 前
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
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:
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
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 Center 和 File Exchange 中查找有关 Manage Products 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!