- The network license manager is not running
- The license file and/or license server cannot be located
- Ports between the Network License Manager and MATLAB Production Server are blocked
Why do I receive "error code 16" when I try to start MATLAB Production Server (MPS) using mps-start?
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 18 Okt. 2013
Bearbeitet: MathWorks Support Team
am 31 Mär. 2023
I created a new instance of MATLAB Production Server (MPS), but I cannot start it.
When I run the command mps-start, I receive the following error:
ERROR: Server failed to start (error code = 16): license checkout failed
Server process exited with return code: 16
(check logs for more information)
How can I resolve this issue and start the MPS instance?
Akzeptierte Antwort
MathWorks Support Team
am 31 Mär. 2023
Bearbeitet: MathWorks Support Team
am 31 Mär. 2023
"Error code 16" indicates one of the following issues:
To resolve this issue, you must specify the license files and/or license servers by editing the following configuration file:
$MPSinstance\config\main_conf
(where $MPSinstance is the folder that contains the MPS instance.)
To edit the configuration file:
- Go to the folder containing the MPS instance.
- Go to the folder "config".
- Open the file "main_config" in a text editor.
- Locate the section "License Management Settings".
- Locate the following line:
# --license
- Uncomment the line:
--license
- Add colon-separated list of license file(s) and/or license server(s):
--license C:\MPS\licenses\network.lic
--license 27000@mps-license-server
(NOTE: The absolute path must be used for license files.)
- Save the file "main_config".
You should now be able to start the MPS instance.
1 Kommentar
Kojiro Saito
am 31 Aug. 2017
What is the error message? Could you provide the log file?
The log is located in your_MPS_instance\log\main.log
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!