I am trying to install es 5.2.1 on win2008 r2 server; it already runs 1.x ES. I am getting:
Installing service : "elasticsearch-service-x64"
Using JAVA_HOME (64-bit): "D:\Java\jdk1.8.0_40x64\jre"
Failed installing 'elasticsearch-service-x64' service
I am using the default jvm.options file. I have also detailed the issue at Github here
Can you please provide the contents of the service logs? These files are located in the logs directory and have names that indicate they are the service logs.
I have been able to install the service, but now when I start the service I get this in the service log: elasticsearch-service-x64-stderr.2017-02-23.log
2017-02-23 21:34:48 Commons Daemon procrun stderr initialized
Exception in thread "main" ed to bind to [9300-9400]]; nested: BindException[Cannot assign requested address: bind];
Likely root cause: java.net.BindException: Cannot assign requested address: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:127)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:502)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:487)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:363)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Thread.java:745)
Refer to the log for complete error details.
I remember reading that port 9300 is used by default by the java client. Is that the port ES uses to communicate with the cluster by any chance? If so, what's the override config for it?
ERROR: bootstrap checks failed
initial heap size [536870912] not equal to maximum heap size [8589934592]; this can cause resize pauses and prevents mlockall from locking the entire heap
Why isn't the max heap value 2g as I'd expect from the config? Any clues?
Not really. Apparently it does not read the jvm.options file you are looking at.
I wonder if you have any system properties like JAVA_OPTIONS which could "conflicts" but really unsure if this should be the case even if you have such a setting.
Not really. Apparently it does not read the jvm.options file you are looking at.
I wonder if you have any system properties like JAVA_OPTIONS which could "conflicts" but really unsure if this should be the case even if you have such a setting.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.