Web App Server Start Service error in Matlab 2020a

8 次查看(过去 30 天)
Hi, I've successfully setup the Web App Server following the instructions on web page, and complete the Service Registration.
However, it shows '[SC] StartService failed 1068' when I click 'Start'. And the log file shows:
00000002 2020-07-14 16:01:23 0x00001bd8 cppmicroservices::install W file not found: C:\Program Files\MATLAB\MATLAB Runtime\v98\bin\win64\spf\servicedependencies
00000003 2020-07-14 16:01:23 0x00001bd8 agent::agentcore V Core framework services started.
00000004 2020-07-14 16:01:23 0x00001bd8 agent::agentcore V Registering agentmdwas_9_8 using lockroot C:\ProgramData\MathWorks\webapps\R2020a\USR\locks
00000005 2020-07-14 16:01:23 0x00001bd8 agent::agentcore V Registration complete.
00000006 2020-07-14 16:01:23 0x00001bd8 cppmicroservices::install W file not found: C:\Program Files\MATLAB\MATLAB Runtime\v98\bin\win64\spf\inprocessdiscovery
00000007 2020-07-14 16:01:23 0x00001bd8 agent::agentcore E Failed to setup InProcessDiscovery
00000008 2020-07-14 16:01:23 0x00001bd8 agent::agentcore V Exception caught: Dynamic exception type: class std::runtime_error
std::exception::what: Could not get InProcessDiscovery microservice
00000009 2020-07-14 16:01:23 0x00001bd8 agent::core::service E httpserver: setup threw an exception
00000010 2020-07-14 16:01:23 0x00001bd8 agent::core::service V Exception caught: Dynamic exception type: class foundation::http::TCPConfigurationError
std::exception::what: Failed to open server socket on 0.0.0.0, for given port range: [9988,9988]
00000011 2020-07-14 16:01:23 0x00001bd8 agent::coreservices E Failed to start service: httpserver
Failed to open server socket on 0.0.0.0, for given port range: [9988,9988]
00000012 2020-07-14 16:01:23 0x00001bd8 agent::coreservices E Non-core service httpserver failed to start. Stopping other services
00000013 2020-07-14 16:01:23 0x000018a8 agent::shutdownservice V ShutdownService shutting down.
00000014 2020-07-14 16:01:23 0x00001bd8 agent::coreservices E Failed to construct non-core services or setup their start order
00000015 2020-07-14 16:01:23 0x00001bd8 agent::agentcore E Services not started. Exiting.
Any help will be much appreciated!

采纳的回答

Inso
Inso 2020-7-18
I went to the 'services.msc' and stopped the earlier version of web apps (2019a) and it works well now.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Web App Server 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by