What is the maximum number of workers I can specify? I tried 2, it is working. If I use 3, it gives me error:"... (error code = 16): license checkout fail", see log detail
37 次查看(过去 30 天)
显示 更早的评论
1 [2024.10.18 11:24:02.550463] [information] Starting master (pid = 9956)
2 [2024.10.18 11:24:02.566079] [information] Global locale: en_US
3 [2024.10.18 11:24:02.566079] [information] Global encoding: windows-1252
4 [2024.10.18 11:24:02.566079] [information] terminal encoding: IBM437
11 [2024.10.18 11:24:02.644214] [information] configuring WebFunction router
12 [2024.10.18 11:24:02.644214] [information] -- (no routes file configured) Using XHeaderMatcher for WebFunction routing
72 [2024.10.18 11:24:02.659830] [error] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] Failed to read file, the CTF file may be incomplete or corrupt : "C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\auto_deploy\A2AM.ctf" : Could not open source package
73 [2024.10.18 11:24:02.862966] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] Added 'createCTFFunctionByCommand' ('C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\auto_deploy\createCTFFunctionByCommand.ctf' -> 'C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\.mps_deployed\createCTFFunctionByCommand_2')
76 [2024.10.18 11:24:02.862966] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] The server has not acquired a license: The CTF license type "TRIAL", current MPS license type "INVALID" could not be validated. Request processing will be disabled until the server acquires a license.
133 [2024.10.18 11:24:02.925487] [information] -- UriPathRegexMatcher: removing old entries. operation=add, component=createCTFFunctionByCommand, entries=0, exists=false
139 [2024.10.18 11:24:02.925487] [information] [PTR:0000028BA4AD5910] [SERVICE:FLEXlm Client] [THREAD_POOL:license_manager_thread_pool] license unavailable
141 [2024.10.18 11:24:02.925487] [information] [PTR:0000028BA4AD5910] [SERVICE:FLEXlm Client] [THREAD_POOL:license_manager_thread_pool] temporarily disabling request processing
140 [2024.10.18 11:24:02.925487] [information] -- UriPathRegexMatcher: removing old entries. operation=add, component=mps_check, entries=0, exists=false
142 [2024.10.18 11:24:02.925487] [information] [PTR:0000028BA4AD5910] [SERVICE:FLEXlm Client] [THREAD_POOL:license_manager_thread_pool] reset current license type to be invalid
155 [2024.10.18 11:24:02.972361] [error] [License:FlexlmLicenseApi] [PTR:0000028BA4AD5910] [THREAD_POOL:license_manager_thread_pool] checkout() failed-4
156 [2024.10.18 11:24:02.972361] [error] [License:FlexlmLicenseApi] [PTR:0000028BA4AD5910] [THREAD_POOL:license_manager_thread_pool] License Checkout Error
162 [2024.10.18 11:24:02.972361] [error] [PTR:0000028BA4AD5910] [SERVICE:FLEXlm Client] [THREAD_POOL:license_manager_thread_pool] license checkout failed
165 [2024.10.18 11:24:02.972361] [error] [PTR:0000028BA4AD5910] [SERVICE:FLEXlm Client] [THREAD_POOL:license_manager_thread_pool] License Manager failed to start
166 [2024.10.18 11:24:02.972361] [error] [PTR:0000028BA4AD5910] [SERVICE:FLEXlm Client] [THREAD_POOL:license_manager_thread_pool] Failed to start with error, code = 16, message = license checkout failed
167 [2024.10.18 11:24:02.972361] [error] [PTR:0000028BA4AD5910] [SERVICE:FLEXlm Client] [THREAD_POOL:license_manager_thread_pool] Failed to start; error=16 license checkout failed
175 [2024.10.18 11:24:02.972361] [error] Failed to start; error=16 license checkout failed
177 [2024.10.18 11:24:02.972361] [error] Failed to start; error=16 license checkout failed
183 [2024.10.18 11:24:03.066087] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] Added 'getlicenseinfo' ('C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\auto_deploy\getlicenseinfo.ctf' -> 'C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\.mps_deployed\getlicenseinfo_3')
184 [2024.10.18 11:24:03.066087] [information] -- UriPathRegexMatcher: removing old entries. operation=add, component=getlicenseinfo, entries=0, exists=false
187 [2024.10.18 11:24:03.066087] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] The server has not acquired a license: The CTF license type "COMM", current MPS license type "INVALID" could not be validated. Request processing will be disabled until the server acquires a license.
188 [2024.10.18 11:24:03.284869] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] Added 'matlab_fn1' ('C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\auto_deploy\matlab_fn1.ctf' -> 'C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\.mps_deployed\matlab_fn1_4')
189 [2024.10.18 11:24:03.284869] [information] -- UriPathRegexMatcher: removing old entries. operation=add, component=matlab_fn1, entries=0, exists=false
192 [2024.10.18 11:24:03.284869] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] The server has not acquired a license: The CTF license type "COMM", current MPS license type "INVALID" could not be validated. Request processing will be disabled until the server acquires a license.
193 [2024.10.18 11:24:03.503596] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] Added 'myMargicCtf' ('C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\auto_deploy\myMargicCtf.ctf' -> 'C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\.mps_deployed\myMargicCtf_5')
194 [2024.10.18 11:24:03.503596] [information] -- UriPathRegexMatcher: removing old entries. operation=add, component=myMargicCtf, entries=0, exists=false
197 [2024.10.18 11:24:03.503596] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] The server has not acquired a license: The CTF license type "COMM", current MPS license type "INVALID" could not be validated. Request processing will be disabled until the server acquires a license.
198 [2024.10.18 11:24:03.706747] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] Added 'mymagic' ('C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\auto_deploy\mymagic.ctf' -> 'C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\.mps_deployed\mymagic_6')
199 [2024.10.18 11:24:03.706747] [information] -- UriPathRegexMatcher: removing old entries. operation=add, component=mymagic, entries=0, exists=false
202 [2024.10.18 11:24:03.706747] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] The server has not acquired a license: The CTF license type "TRIAL", current MPS license type "INVALID" could not be validated. Request processing will be disabled until the server acquires a license.
203 [2024.10.18 11:24:03.909849] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] Added 'runLongTask' ('C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\auto_deploy\runLongTask.ctf' -> 'C:\MATLAB-Production-Server\dashboard-workspace\mps_workspace\Instances\mps_2\.mps_deployed\runLongTask_7')
204 [2024.10.18 11:24:03.909849] [information] -- UriPathRegexMatcher: removing old entries. operation=add, component=runLongTask, entries=0, exists=false
207 [2024.10.18 11:24:03.925486] [information] [PTR:0000028BA84FA540] [SERVICE:auto-deploy] [THREAD_POOL:auto_deploy_manager_thread_pool] The server has not acquired a license: The CTF license type "COMM", current MPS license type "INVALID" could not be validated. Request processing will be disabled until the server acquires a license.
232 [2024.10.18 11:24:03.925486] [error] [SERVICE:base services] Failed to start; error=16 license checkout failed
286 [2024.10.18 11:24:03.925486] [error] [SERVICE:base services] Failed to start with error, code = 16, message = license checkout failed
297 [2024.10.18 11:24:03.925486] [error] Failed to start; error=16 license checkout failed
0 个评论
采纳的回答
Sivsankar
2024-10-30,9:51
Your error log has ‘code = 16, message = license checkout failed’ messages which suggests that you have issue with your license manager. You can leverage the following MATLAB answer to know more about the error message:
But since your MATLAB Production Server was working with 2 workers but not with 3, it might suggest that your license only allows you to have 2 workers at a time. The default is 2 to provide some degree of high availability, but you can change the count to any number you wish, as long as you keep your worker count below the number you have been licensed.
So, you might need to check your license if that is what is causing this issue. You can leverage the following MATLAB documentation to learn more about your license:
Hope your query is answered.
Thanks
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Installation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!