How do I manually add my network license manager in lmtools.exe?

56 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 22 Nov. 2022
Bearbeitet: MathWorks Support Team am 18 Aug. 2023
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/

Weitere Antworten (0)

Kategorien

Mehr zu Manage Products finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by