I am running Elastic 5.1.1 and I am trying to run it as a service on Windows 10.
Did a: elasticsearch-service.bat install
Which was ok:
Installing service : "elasticsearch-service-x64"
Using JAVA_HOME (64-bit): "C:\Program Files\Java\jdk1.8.0_77"
The service 'elasticsearch-service-x64' has been installed.
I am able to start the manager: elasticsearch-service.bat manager
But I am unable to start Elastic as a service: elasticsearch-service.bat start
Failed starting 'elasticsearch-service-x64' service
Windows event log shows a:
The service Elasticsearch 5.1.1 (elasticsearch-service-x64) has stopped with the following specific service error:
Incorrect function. ID.7024
Anyone an idea how to run Elastic automatically as a a service?