Questions tagged [nssm]

NSSM - the Non-Sucking Service Manager for Windows.

135 questions
1
vote
0 answers

Created a Windows service from a Jar file using NSSM, it runs as a process but doesn't run the program

I created a Windows Service from a .jar from NSSM using a batch file. I exported my code from eclipse as a jar file. With Library handling: Extract required libraries into generated jar. The program uses java's WatchService to check if a file is…
Briny
  • 11
  • 3
1
vote
0 answers

nssm + Selenium Server 3 + Windows 10: Behat tests are not launching Chrome

I successfully installed nssm with the command: PS C:\Users\MyUser> nssm install selenium-server java -jar "C:\selenium\selenium-server-standalone-3.141.59.jar Then I try to proceed to run my Behat tests, the tests appear to be running when I see…
Phil
  • 99
  • 2
  • 9
1
vote
3 answers

NSSM: Can't open service! OpenService(): Access is denied

I'm trying to install selenium-server-standalone-3.141.59.jar as an nssm service. It installs fine but when I try to run it, I get an error. I installed via: PS C:\Users\MyUser> nssm install selenium-server java -jar…
Phil
  • 99
  • 2
  • 9
1
vote
0 answers

Chrome WebDriver cannot be initialised when selenium-server-standalone runs as a Windows service

WebDriver cannot be initialised when selenium-server-standalone is run as Windows service. I'm connecting with Windows machine from Jenkins on centOS using SSH. On Windows I installed selenium-server-standalone as service using nssm, so I run…
1
vote
0 answers

Nodejs Canvas module loads at command line but will not load in nssm service

When running a node app using the nssm service manager, the canvas module will not load, but when running the app from the command line it does. The service is running in win7/32 bits, node version is 10.16 and canvas version 2.5. Error: The…
1
vote
1 answer

"No such file or directory" in xlsxwriter on python as service

I'm using Python with pandas and xlsxwriter for a automation project in my work, but i need run it as service, for this i using pyinstaller for build an executable file and nssm.exe for install the service. When i use pyinstaller and execute the…
1
vote
2 answers

SOLR 8 as a service on Windows 7 using NSSM

I am trying to install SOLR 8 as a service on Windows 7 using NSSM. I keep getting the error saying: Windows could not start the service on Local Computer. There service did not return an error. This could be an internal Windows error on …
user2260040
  • 1,275
  • 1
  • 13
  • 26
1
vote
0 answers

Java socket local server

My goal was to create a Java service on Windows that runs locally and communicates with local programs using JSON. The service should be reliable and robust. The service runs a ServerSocket and receives receives and responds to JSON messages. The…
1
vote
1 answer

How to increase timeout when win_nssm (nssm via Ansible) starts a service?

Starting my Windows nssm Service via the Ansible plugin win_nssm sometimes fails because the service status is SERVICE_START_PENDING while the defined state should be started. This seems to happen because the system is under heavy load and the…
eventhorizon
  • 2,977
  • 8
  • 33
  • 57
1
vote
0 answers

Using celery directly in cmd gives right result, but nssm wrapped celery service won't do the same, why?

It's a celery worker doing some tasks in graphics on Windows. Task is correctly done when I manually run celery worker -A ... in cmd. But if I use nssm to wrap the celery command as a service, the task will return a wrong result (it still can go to…
Mr Mohen
  • 115
  • 7
1
vote
1 answer

Solrcloud service keeps on restarting when created using NSSM

I'm trying to setup SOLR Cloud to work with my Sitecore 9.0 (Update-1) instance. I'm using 3 different VMs with [1-Zookeeper + 1-SOLR 6.6.2] configured on all machines. we use following parameters for creating solrcloud service using NSSM "start…
Ac9293
  • 65
  • 1
  • 12
1
vote
1 answer

Consul Windows Service no longer starts with error "Incorrect function"

So at one point I had consul running on Windows 7. This was several months ago. Recently I started looking back at consul, so I installed it using the Chocolatey package found here on the Chocolatey website. First off, the package always throws an…
arjabbar
  • 6,044
  • 4
  • 30
  • 46
1
vote
1 answer

Nssm service throws errors on startup

I have a Java application that will need to run as a Windows service. For this I created a nssm install file and run the java application using that. Everything is fine in Windows 7 but when running the service in Windows 01 we are getting…
JimmyD
  • 2,629
  • 4
  • 29
  • 58
1
vote
0 answers

How to run logstash in batch file with space in path?

I am trying to to run Logstash as a service in Windows. It works fine when given a path that has no space, but when I give a path that does have a space in it I am unable to run Logstash successfully. In my batch file I've used "",'',""" """,\" \"…
mehak
  • 11
  • 4
1
vote
1 answer

Registering Eclipse Headless build as Windows Service

I currently developed an Eclipse application which also has a headless build available to integrate with some other application. We created a .exe for our application. What I need is when the installation of our application is completed the headless…
techie
  • 191
  • 12
1 2 3
8 9