Cannot install Elasticsearch service in server 2012 R2


#1

Dear all,

I tried to use powershell to install Elasticsearch service in server 2012 R2 but fail. It show following message. Please advice. Thanks

Installing service : "elasticsearch-service-x64"
Using JAVA_HOME (64-bit): "C:\Program Files\Java\jdk1.8.0_171"
-Xms1g;
-Xmx1g;
-XX:+UseConcMarkSweepGC;
-XX:CMSInitiatingOccupancyFraction=75;
-XX:+UseCMSInitiatingOccupancyOnly;
-XX:+Alwa
ysPreTouch;
-Xss1m;
-Djava.awt.headless=true;
-Dfile.encoding=UTF-8;
-Djna.nosys=true;-XX:-OmitStackTraceInFastThrow;
-Dio.netty.noUnsafe=true;
-Dio.netty.noKeySetOptimization=true;
-Dio.netty.recycler.maxCapacityPerThread=0;
-Dlog4j.shutdownHookEnabled=false;
-Dlog4j2.disable.jmx=true;
-Djava.io.tmpdir=C:\Users\tom\AppData\Local\Temp\elasticsearch;
-XX:+HeapDumpOnOutOfMemoryError;
-XX:+PrintGCDetails;
-XX:+PrintGCDateStamps;
-XX:+PrintTenuringDistribution;
-XX:+PrintGCApplicationStoppedTime;
-Xloggc:logs/gc.log;
-XX:+UseGCLogFileRotation;
-XX:NumberOfGCLogFiles=32;
-XX:GCLogFileSize=64m
Failed installing 'elasticsearch-service-x64' service


(Glen Smith) #2

Hello,

Did you follow the instructions detailed here?
https://www.elastic.co/guide/en/elasticsearch/reference/current/windows.html


(system) #3

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