How to fix SERVICE_PAUSED error on starting nssm server

Alex Tumanov picture Alex Tumanov · Aug 12, 2016 · Viewed 22k times · Source

So I need to run a custom server. It worked on other machines, but not on mine (all of them are on Windows).

My input:

nssm start custom-server

Error message:

custom-server: Unexpected status SERVICE_PAUSED in response to START control.

I tried to re-start it, but got the same message.

Answer

André Luiz Mendonça picture André Luiz Mendonça · Feb 29, 2020

Use the following instructions to change I/O redirects:

nssm set [SERVICE_NAME] AppStdout [APP_PATH_INSTALL]\logs\service.log
nssm set [SERVICE_NAME] AppStderr [APP_PATH_INSTALL]\logs\service-error.log

Check the service log files to find the failure.

In my case, the failure was caused by a dependency on Python libraries.