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

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

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

YML
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:

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.

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

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