ES 2.4.0 service not able to start in Windows 8


(ganeshbabu) #1

Hi All,

I am not able to start Elasticsearch service in windows machine by the follow configuration.

I setup the installation of ES 2.4.0 in windows 8, but failed to start the Elasticsearch service

C:\Users\ramaga09\Downloads\elasticsearch-2.4.0\bin>service.bat install
Installing service      :  "elasticsearch-service-x64"
Using JAVA_HOME (64-bit):  "C:\Program Files\Java\jdk1.8.0_101"
The service 'elasticsearch-service-x64' has been installed.

Below is the command to start the Elasticsearch service

C:\Users\ramaga09\Downloads\elasticsearch-2.4.0\bin>
C:\Users\ramaga09\Downloads\elasticsearch-2.4.0\bin>service.bat start
Failed starting 'elasticsearch-service-x64' service

When I checked in logs the following error were thrown,

**[2016-10-04 17:50:13] [error] [ 6852] Failed to start 'elasticsearch-service-x64' service**
**[2016-10-04 17:50:13] [error] [ 6852] The data area passed to a system call is too small.**
**[2016-10-04 17:50:13] [info]  [ 6852] Start service finished.**
**[2016-10-04 17:50:13] [error] [ 6852] Commons Daemon procrun failed with exit value: 5 (Failed to start service)**
**[2016-10-04 17:50:13] [error] [ 6852] The data area passed to a system call is too small.**

I have set the JAVA_HOME as,

C:\Program Files\Java\jdk1.8.0_101

Please correct me if am doing anything wrong in config setup.

Regards,
Ganeshbabu R


(system) #2