I am trying to start the Elastic Search service on a Windows 2008 R2 server, but it does not start. Previously, he worked for several months without any problems.
In services, I get the message:
"Windows could not run Elasticsearch 1.7.2 (ELASTIC_POC) on the local computer. For more information, look at the system event log. If it is a non_Microsoft service, contact your service provider and contact the service with error code 1."
The event log was very useless, showing the following error:
"The Elasticsearch 1.7.2 service (ELASTIC_POC) has entered a stop state.
"Elasticsearch 1.7.2 service (ELASTIC_POC) terminated with a service-specific error. Invalid function .."
However, I get more information in the Elastic Search log files:
[2016-03-30 10:47:22] [info] [ 3988] Running 'ELASTIC_POC' Service... [2016-03-30 10:47:22] [info] [ 3760] Starting service... [2016-03-30 10:47:22] [error] [ 3760] Failed creating java C:\Progra~2\Java\jre1.8.0_60\bin\client\jvm.dll [2016-03-30 10:47:22] [error] [ 3760] The system cannot find the path specified. [2016-03-30 10:47:22] [error] [ 3760] ServiceStart returned 1 [2016-03-30 10:47:22] [error] [ 3760] The system cannot find the path specified. [2016-03-30 10:47:22] [info] [ 3988] Run service finished. [2016-03-30 10:47:22] [info] [ 3988] Commons Daemon procrun finished
Checking C: \ Program Files (x86) \ Java \ jre1.8.0_60, it contains only a folder named lib (which is empty). There is a folder "jre1.8.0_73" with several files "including \ bin \ client \ jvm.dll"
How can I get Elastic Search to use a later version of Java or return the contents of the jre1.8.0_60 folder? It seems I can not find (safe to download) the installer for this.
Any help is greatly appreciated.
windows-server-2008-r2 elasticsearch
mp3duck
source share