When i try to start my mps instanse, I have getting license checkout error -16,

1 view (last 30 days)
This is my log file....!!!
[root@pirai Desktop]# cat pirai-pt/log/main.log
1 [2018.07.17 12:45:30.358090] [information] Starting master (pid = 15200)
2 [2018.07.17 12:45:30.358302] [information] Global locale: en_US
3 [2018.07.17 12:45:30.358329] [information] Global encoding: UTF-8
4 [2018.07.17 12:45:30.358344] [information] terminal encoding: UTF-8
19 [2018.07.17 12:45:30.492534] [information] [SERVICE:FLEXlm Client] license unavailable
20 [2018.07.17 12:45:30.492624] [information] [SERVICE:FLEXlm Client] temporarily disabling request processing
21 [2018.07.17 12:45:30.492658] [information] [SERVICE:FLEXlm Client] reset current license type to be invalid
34 [2018.07.17 12:45:30.509553] [error] [License:FlexlmLicenseApi] checkout() failed-8
35 [2018.07.17 12:45:30.509623] [error] [License:FlexlmLicenseApi] License Checkout Error
41 [2018.07.17 12:45:30.510078] [error] [SERVICE:FLEXlm Client] license checkout failed
44 [2018.07.17 12:45:30.510186] [error] [SERVICE:FLEXlm Client] License Manager failed to start
45 [2018.07.17 12:45:30.510210] [error] [SERVICE:FLEXlm Client] Failed to start with error, code = 16, message = license checkout failed
i need help,,,, i'm new for matlab production server. please give some perfect configuration example for main_config file and license.dat file.

Answers (1)

Sivsankar
Sivsankar on 4 Nov 2024
You are receiving the error log ‘Failed to start with error, code = 16, message = license checkout failed’. You can leverage the following MATLAB answer to diagnose the issue:
License error code 16 could also mean that the MLM daemon path is invalid.
Check your $MPS_INSTALL/etc/license.dat (if Windows, $MPS_INSTALL\etc\license.dat) file and DAEMON MLM path is correct. If you're using Linux, this path would be:
DAEMON MLM $MPS_INSTALL/etc/glnxa64/mlm
In case of Windows, this path should be:
DAEMON MLM $MPS_INSTALL\etc\win64\mlm.exe
Hope this will help!

Community Treasure Hunt

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

Start Hunting!