Questions tagged [nssm]

NSSM - the Non-Sucking Service Manager for Windows.

120 questions
16
votes
2 answers

How to check a list of all services created by NSSM (non sucking service manager)?

Okay, I have created some services in Windows 7 through NNSM (Non-Sucking Service Manager) but now I don't know their service names anymore and I want to edit/remove them. How can I find a list of the services installed through NSSM?
15
votes
3 answers

Unexpected status SERVICE_START_PENDING in response to START control

When trying to restart an existing windows service via NSSM, I randomly get the below message which is written to the error log/error output. Any ideas on how to rectify? Ideally, accept as a valid response. Unexpected status SERVICE_START_PENDING…
johnnyboy
  • 869
  • 12
  • 21
10
votes
3 answers

Installing a Java service on Windows 7 with NSSM

I am trying to use Inno Setup to install a Windows service as a JAR file running under NSSM (Non-Sucking Service Manager) nssm install JarService java -jar service.jar nssm start JarService ends up putting my service in the "Paused" state, and it…
mcarr
  • 121
  • 1
  • 1
  • 8
8
votes
7 answers

How to fix SERVICE_PAUSED error on starting nssm server

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…
Alex Tumanov
  • 313
  • 1
  • 2
  • 13
7
votes
1 answer

"No input file specified" for some versions of PHP

I have multiple versions of PHP installed as per this guide, that I wrote. Basically, it is an ApacheLounge installation talking to PHP via FastCGI on Windows 10. This used to let me run these PHP versions at the same time on different VirtualHosts.…
Spyryto
  • 637
  • 8
  • 14
7
votes
3 answers

Solr in Component Services shows paused and can't start on Windows

I followed every step, but I can start the solr service. It says 'paused. https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/ I get the following error:
7
votes
3 answers

Making a node.js service using NSSM

I want to create a nodejs service, so that the node server starts as my computer starts, and i do not have to keep the command prompt open all the time. I m tryng to achieve this by using NSSM. Here is the command to create the service: nssm.exe…
utkarsh tyagi
  • 553
  • 1
  • 6
  • 23
7
votes
1 answer

How to use NSSM

This is probably glaringly obvious, but how do I "install" NSSM? according to the docs, I don't need to. If I wanted to use the GUI, I know that works (I've tested that) but when using cmd prompt or a batch file, it can't find it. I know that the…
CoilKid
  • 293
  • 1
  • 3
  • 10
5
votes
1 answer

Check if a given service name exist or not and its status with NSSM API

I am trying to build a kind of self contained system where i copy my application executables in a place and run the services as standalone applications, no installations. I am using NSSM executable to create services in windows server 2012 R2 and on…
ishan
  • 1,070
  • 3
  • 21
  • 42
5
votes
1 answer

Error when trying to run an executable .jar as a Windows service using NSSM

I got an executable .jar file which I want to run as a Window service to keep it executing even if I get logged out. I searched and found NSSM. However, after completing configuration, when I started service, it stopped and printed Unexpected status…
aneela
  • 1,329
  • 2
  • 20
  • 33
4
votes
2 answers

Python script within a Pipenv as a windows service with NSSM

Using How do you run a Python script as a service in Windows? I can get a python script to run as a service. Tested it with the following code I made: import os from time import sleep from random import * # import flask <-- This line breaks it…
run_the_race
  • 1,730
  • 17
  • 25
4
votes
1 answer

How to handle path with spaces in Inno Setup?

I want to allow paths with spaces (for example program files) when installing my program with Inno Setup. However paths with spaces let my installed service crash. The Inno Setup file looks like…
deamon
  • 78,414
  • 98
  • 279
  • 415
3
votes
1 answer

how to set two environment variables in nssm with command line

I tried to set two environment variables using nssm set TestService AppEnvironmentExtra SOMEVAR=SOMEVALUE but only the last value is considered, one command overlaps the other i try nssm install TestService TestPath nssm set SystoreApi…
3
votes
1 answer

Why services configured with NSSM output error messages to the standard output

Recently I configured two separate services with the Help of NSSM. For both, the stdout and the stderr are being output in the stdout file and thus stderr file is always empty even if there are error messages. The services themselves are working as…
Vladislav
  • 2,202
  • 20
  • 40
3
votes
1 answer

NSSM couldn't set startup parameters for the service!deleting the service

The operating system is Windows Server 2008 R2 Enterprise 64-bit.When I was doing the following configuration,error appears like the following picture.It's a python service. Error
MuZhouli
  • 31
  • 3
1
2 3 4 5 6 7 8