Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi,
I am making Thingworx HA.
I was able to run the Zookeeper server from command prompt on Windows.
I would like to run as a background service instead and also start automatically without start manually or Login system.
I was able to create the service using below command.
sc.exe create ZookeeperService binPath= “C:\zookeeper\apache-zookeeper-3.5.5\bin\zkServer.cmd
Service is created but it is not started and an the getting error. Please refer the attached screenshot
Could you please help on how to run background service.
Thank you in Advance.
Latha
Solved! Go to Solution.
I am able to do with NSSM. Thank you for your suggestions.
Regards,
Latha
Hi,
You can try with AlwaysUp as in this link: https://www.coretechnologies.com/products/AlwaysUp/Apps/RunZooKeeperAsAWindowsService.html
Hope it helps,
Raluca Edu
Hi,
Thank you for replay.
Alwaysup is not free software.
Is there any otherway i can run Zookeeper as background service.Service is created as Background but not able to run the service.
I am getting the error "Error 1053: The service did not respond to the start or control request in a timely fashion".
I have updated "ServicesPipeTimeout" and also did the ccleaner. Still getting error.
Could you help me on how to resolve.
Hi,
You can also try with NSSM: https://nssm.cc/download As far as I know, this one is free.
Can you check Events log and search for the error you have to get more messages related to the error?
Thank you,
Raluca Edu
Thank you for information. I will try your options.
Regards,
Latha
I am able to do with NSSM. Thank you for your suggestions.
Regards,
Latha