“许可证管理器错误-95”表示MATLAB无法解决运行许可证管理器的计算机的主机名。
即使运行许可证管理器可能出现此问题。
要验证许可文件包含一个解析的主机名,请在文本编辑器的许可文件。许可证文件的位置取决于操作系统和版本而异:
Windows: C:\Program Files\MATLAB\R20***\licenses\ network.lic
Linux: /usr/local/MATLAB/R20***/licenses/network.lic
MACOS:/Applications/MATLAB_R20***.app/licenses/network.lic
许可证文件中有一行以单词SERVER开头,后面跟着许可证服务器的主机名或许可证服务器的IP地址。通常,当存在主机名且该名称不可解析时,就会发生此问题。
对于本地的注册管理,还可以看到术语“的this_host”。这意味着许可证管理器将使用当前的主机名。此主机名可以通过运行从终端或命令提示命令“主机名”进行检索。
*打开命令提示符或终端*运行以下命令(将“hostname”替换为license server的主机名)
如果命令输出为“unknown host”,MATLAB将无法连接到许可证管理器。您需要更改许可证文件的SERVER行中列出的主机名,或者使用许可证服务器的IP地址。
如果许可证管理器在本地运行,可以通过使主机名可解析来解决这个问题。为此,您可以修改系统的主机文件。在修改主机文件之前,请与您的IT部门联系。
C:\Windows\system32\drivers\etc\hosts (Windows)
(Linux /的/ etc / hosts Mac)
要使主机名可解析,请将其添加到环回地址行。通常这一行以localhost或localhost.localdomain的值结束。例如,您应该看到一行如下内容:
127.0.0.1本地主机localhost.localdomain
或者
:: 1 localhostlocalhost.localdomain
要使本地主机名可解析,请将其添加到该行的末尾。例如:
127.0.0.1本地主机localhost.localdomainjohn-pc
一旦添加,如果您重新启动本地许可证管理器,您应该能够启动MATLAB。如果许可证管理器没有在本地运行,请与网络管理员联系,以确保许可证服务器机器是可解析的。
9日评论
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_530727
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_530727
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_541712
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_541712
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_721025
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_721025
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_721043
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_721043
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_723263
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_723263
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_816211
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_816211
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_816577
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_816577
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_1066913
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_1066913
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_1092788
直接链接到这个评论
//www.tatmou.com/matlabcentral/answers/95791-why-do-i-receive-license-manager-error-95#comment_1092788
登录评论。