With FlexNet 9.2, why do I receive a MathWorks Licensing Error 15 when trying to checkout a license key from a distant location or over a wide area network (WAN)?
31 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2009 年 6 月 27 日
編集済み: MathWorks Support Team
2025 年 5 月 8 日
The license server is in a different network location than the client. I am able to checkout the licenses for release R12, but get the following error message when starting MATLAB release 14 and above:
ERROR: License checkout failed. Cannot connect to license server. MathWorks Licensing Error 15.
採用された回答
MathWorks Support Team
2025 年 5 月 8 日
編集済み: MathWorks Support Team
2025 年 5 月 8 日
This is a known issue with FLEXnet 9.2 and versions slightly higher than it. If you are receiving this error over a WAN and the Network License Manager is running, see the workaround below:
By default, the client sends a request to the server and if it can't complete the connection within 100000 microseconds, the client returns error 15.
To workaround this issue, you can extend the timeout period by setting the "FLEXLM_TIMEOUT" environment variable on the client machine. For example:
set FLEXLM_TIMEOUT=2147483647
Assign any value within the range 0 through 2147483647 microseconds. The default setting is 100000 microseconds.
As an alternative, you can change the license manager port to a number outside the range 27000-27009. This timeout value is only used when the port used to communicate with the server is in the range 27000-27009.
To specify a different port number, change the port address in the license.dat file on the license server to 27010 or higher. The SERVER line should look like the following:
SERVER <hostname> <hostid> 27010
0 件のコメント
その他の回答 (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!