Server service doesn't start even if configured to start automatically (Q606)
Symptoms:
Even though startup type is set to automatic for the server service of the Umetrics server products listed above it isn't automatically started when windows starts. Starting the service manually from the Services control panel however works fine.
Cause:
The service attempts to connect to the data source through a SimApi when the service starts. If the data source isn't available the server service cannot start.
If the DBMaker SimApi is enabled (used for data source simulation for testing and demos), the service cannot be started automatically because the DBMaker app has to be started manually before the service is started.
Resolution:
For non-DBMaker SimApis:
Use the SC command to add dependencies to the SIMCA®-online server service so that it starts after the services for the data source has started. Here is how:
- Find out what the service name is of the service you want to depend on. Look in the Services control panel.
- On an elevated command prompt (running as administrator), look for current dependencies of the service (so that you can keep those) with the command:sc qc "SIMCA®-online Server 13.3"
- This should show the current dependencies which by default are just RpcSs.
- Add new dependencies while still keeping the old dependency with this command: sc config "SIMCA®-online Server 13.3" depend="RpcSs/NewServiceName"
More Information:
For more information about the SC command, see Microsoft Technet; https://technet.microsoft.com/en-us/library/cc754599.aspx
For more information about SIMCA®-online deployment including service information, see the SIMCA®-online Technical Guide.