I downloaded Elasticsearch onto my windows 8 and unzipped


(Jason Smith) #1

I can only start the elasticsearch instance by double clicking on elasticsearch.bat which is in the bin directory. How can I run it as a service in windows 8?

When I double click on elasticsearch-service-mgr.exe, it says "the specified service doesn't exist as a service"

Thank You


(kulkarni) #2

You can't just run a .BAT file or any old .EXE file as a service. Windows services don't work that you. You can use a utility like the non-Sucking Service Manager (NSSM) or Microsoft's non-free SRVANY utility to run an arbitrary program as a service, but you may find that you don't get very "graceful" stopping behavior.

Ref : https://www.elastic.co/guide/en/kibana/current/windows.html

Thanks
Rashmi


(Jason Smith) #3

Thank You Rashmi.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.