# ES 2.4.0 service not able to start in Windows 8

**URL:** <https://discuss.elastic.co/t/es-2-4-0-service-not-able-to-start-in-windows-8/62159>\
**Category:** Elasticsearch\
**Created:** [October 4, 2016, 12:28pm UTC](https://discuss.elastic.co/t/es-2-4-0-service-not-able-to-start-in-windows-8/62159 "2016-10-04T12:28:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r.ganeshbabu](https://discuss.elastic.co/u/r.ganeshbabu)\
**Post date:** [October 4, 2016, 12:28pm UTC](https://discuss.elastic.co/t/es-2-4-0-service-not-able-to-start-in-windows-8/62159/1 "2016-10-04T12:28:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:15pm UTC](https://discuss.elastic.co/t/es-2-4-0-service-not-able-to-start-in-windows-8/62159/2 "2017-07-05T22:15:11Z")

</div>


