Questions tagged [nssm]

NSSM - the Non-Sucking Service Manager for Windows.

135 questions
29
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?
Tiago Stapenhorst
  • 708
  • 2
  • 9
  • 22
18
votes
9 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
  • 435
  • 1
  • 3
  • 16
15
votes
4 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
  • 23
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
9
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
  • 635
  • 1
  • 9
  • 27
8
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
  • 1,107
  • 12
  • 17
8
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,772
  • 1
  • 23
  • 42
8
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:
8
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
  • 335
  • 2
  • 3
  • 12
6
votes
2 answers

FastAPI as a Windows service

I am trying to run FastAPI as a windows service.Couldn't find any documentation or any article to run Uvicorn as a Window's service. I tried using NSSM as well but my windows service stops.
Ronin
  • 63
  • 1
  • 1
  • 3
6
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,202
  • 5
  • 24
  • 44
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,457
  • 3
  • 24
  • 45
4
votes
0 answers

NSSM service does not show GUI

I have a maven/java project i am trying to make a windows service. I have a .exe which is used to distribute the program, and now I need to make it a windows service. The executable works fine by itself and shows the GUI. I have ran everything in…
Oskar
  • 90
  • 1
  • 10
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,344
  • 2
  • 36
  • 62
4
votes
1 answer

nssm is not rotating output files

I am using the below parameters for creating windows service. However, the nssm is not rotating the output file: AppRotateFiles 1(enables file rotation) AppRotateOnline 0 AppRotateSeconds 86400 (time between rotation) AppRotateBytes 1048576 (file…
Amit Nanaware
  • 3,203
  • 1
  • 6
  • 19
1
2 3
8 9