# Failed installing 'elasticsearch-service-x64' service on brand new installation

**URL:** <https://discuss.elastic.co/t/failed-installing-elasticsearch-service-x64-service-on-brand-new-installation/240679>\
**Category:** Elasticsearch\
**Created:** [July 10, 2020, 10:56am UTC](https://discuss.elastic.co/t/failed-installing-elasticsearch-service-x64-service-on-brand-new-installation/240679 "2020-07-10T10:56:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [July 10, 2020, 10:56am UTC](https://discuss.elastic.co/t/failed-installing-elasticsearch-service-x64-service-on-brand-new-installation/240679/1 "2020-07-10T10:56:21Z")

</div>

Hi,  
I am trying to install elastic as a service.

**Situation:**  
3 Nodes.  
3 New installations of Elasticsearch 7.7.1.

> **YML**
>
> ```auto
> cluster.name: ServiceTest
> node.name: node1
> node.master: true
> network.host: IPofNode1
> http.host: 0.0.0.0
> discovery.seed_hosts: ["IPofNode1", "IPofNode2", "IPofNode3"]
> cluster.initial_master_nodes: ["node1","node2","node4"]
> 
> ```

I use the command `elasticsearch-service.bat install` but I get back:

```auto
Installing service : "elasticsearch-service-x64"
Using JAVA_HOME (64-bit): ""C:\tools\ElasticNew_7.7.1\elasticsearch-7.7.1\jdk""
-Des.networkaddress.cache.ttl=60;-Des.networkaddress.cache.negative.ttl=10;-XX:+AlwaysPreTouch;-Xss1m;-Djava.awt.headless=true;-Dfile.encoding=UTF-8;-Djna.nosys=true;-XX:-OmitStackTraceInFastThrow;-XX:+ShowCodeDetailsInExceptionMessages;-Dio.netty.noUnsafe=true;-Dio.netty.noKeySetOptimization=true;-Dio.netty.recycler.maxCapacityPerThread=0;-Dio.netty.allocator.numDirectArenas=0;-Dlog4j.shutdownHookEnabled=false;-Dlog4j2.disable.jmx=true;-Djava.locale.providers=SPI,COMPAT;-Xms1g;-Xmx1g;-XX:+UseG1GC;-XX:G1ReservePercent=25;-XX:InitiatingHeapOccupancyPercent=30;-Djava.io.tmpdir=C:\Users\User\AppData\Local\Temp\elasticsearch;-XX:+HeapDumpOnOutOfMemoryError;-XX:HeapDumpPath=data;-XX:ErrorFile=logs/hs_err_pid%p.log;-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m;-XX:MaxDirectMemorySize=536870912

```

I don't understand what the errors mean. Any ideas?

Thanks,  
defalt

**EDIT** :

- This also happens when I don't change anything in the .yml
- This also happens on another pc.

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [July 12, 2020, 7:48am UTC](https://discuss.elastic.co/t/failed-installing-elasticsearch-service-x64-service-on-brand-new-installation/240679/2 "2020-07-12T07:48:04Z")

</div>

I don't see any errors there - that seems a normal start - does it start? Check the logs, such as:

logs/hs\_err\_pid%p.log

---

<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:** [August 9, 2020, 7:48am UTC](https://discuss.elastic.co/t/failed-installing-elasticsearch-service-x64-service-on-brand-new-installation/240679/3 "2020-08-09T07:48:08Z")

</div>

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