How do I manually add my network license manager in lmtools.exe?
40 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2012 年 9 月 20 日
編集済み: MathWorks Support Team
2023 年 8 月 18 日
During installation, the network license manager service was not configured in lmtools.exe automatically. How do I manually add my license manager service into LMTOOLS?
採用された回答
MathWorks Support Team
2022 年 11 月 22 日
編集済み: MathWorks Support Team
2023 年 8 月 18 日
If your network license manager service didn't automatically configure during installation, you will need to add the entry and configure LMTOOLS manually.
You can do this from the "Config Services" tab of LMtools program.
1) Open the lmtools.exe
2) Go to the "Config Services" Tab at the top
3) Once in this tab, delete anything already in the "Service Name" field and enter a name for this service (MATLAB License Server, for example). This will be how you identify this service on the "Service/License File" tab. Do not skip this step. If you skip this step and an existing service is selected, you may damage the configuration for another FlexNet License Server.
4) Once the service is named, enter the paths for the service.
A) First, browse to the lmgrd.exe file. This will likely be in your $MATLAB\etc\win{32|64} ($MATLAB\flexlm for releases prior to R2010b) directory.
(NOTE: $MATLAB refers to the directory where MATLAB is installed. In Windows, This is typically C:\Program Files\MATLAB\R20xxx by default.)
B) Next browse to your license.dat file (likely also in the same folder or in the \etc directory). This is the license file that is configured with your SERVER and DAEMON lines. If your license file does not have a SERVER and DAEMON line it, please refer to the following article for assistance adding them:
Why do I get "License Manager Error -13"?
C) Finally, create a plain text file to be the log file, and browse to it. It is recommended that you place this file in the same win{32|64} folder and call it lmlog.txt. (C:\Program Files\MATLAB\R2010b\win32\lmlog.txt) and make sure the "Use Services" and "Start Service at Power Up" boxes are checked.
5) After this is done, click on "Save Service".
Now the service will be in the "Service/License File" tab. Make sure it is highlighted and go to the "Start/Stop/Reread" tab to start as detailed in the installation guide. The "Start Server" button in the "Start/Stop/Reread" tab will start the license manager and allow it to serve out seats if everything else is configured correctly.
If you make any changes to any of the other files or tabs in LMTOOLS, you will want to first stop the server and then start it again in order to implement those changes. If the bar at the bottom of the tab says "Stopping Server", then you can consider the server stopped and start it again. As a note, MathWorks does not recommend using the "ReRead License File" button as it does not produce the desired output of using it. Stopping and starting the license manager in the "Start/Stop/Reread" is the most effective means to update the license manager with any changes you have made.
You can verify that the server is running by clicking the "Perform Status Enquiry" button on the "Server Status" tab. If, after configuring the license manager as a service, you are getting any errors, please contact the Installation and Licensing Team using the following link:
http://www.mathworks.com/support/service_request/
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!