Hi,
I have just downloaded the elasticsearch and try to run it, but I am getting this annoying exception:
"C:\java\jdk1.6.0_31\bin\java" -Xms256m -Xmx1g -Xss256k -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -X
X:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryErr
or -Delasticsearch -Des-foreground=yes -Des.path.home="C:\tools\elasticsearch-0.20.1" -cp ";C:\too
ls\elasticsearch-0.20.1/lib/elasticsearch-0.20.1.jar;C:\tools\elasticsearch-0.20.1/lib/;C:\tools\elasticsearch-0.20.1/lib/sigar/" "org.elasticsearch.bootstrap.ElasticSearch"
[2012-12-20 17:41:45,272][WARN ][bootstrap ] jvm uses the client vm, make sure to run java
with the server vm for best performance by adding -server
to the command line
[2012-12-20 17:41:45,276][INFO ][node ] [Drumm, Jericho] {0.20.1}[6696]: initializing ...
[2012-12-20 17:41:45,280][INFO ][plugins ] [Drumm, Jericho] loaded [], sites []
[2012-12-20 17:41:52,475][INFO ][node ] [Drumm, Jericho] {0.20.1}[6696]: initialized
[2012-12-20 17:41:52,475][INFO ][node ] [Drumm, Jericho] {0.20.1}[6696]: starting ...
[2012-12-20 17:41:52,746][INFO ][transport ] [Drumm, Jericho] bound_address {inet[/0.0.0.0:9300]}, publish_address {inet[/2001:0:4137:9e76:2008:365c:3f57:fff9:9300]}
[2012-12-20 17:41:56,015][INFO ][cluster.service ] [Drumm, Jericho] new_master [Drumm, Jeri
cho][AXaoCdyKSyS0_IEvarudvw][inet[/2001:0:4137:9e76:2008:365c:3f57:fff9:9300]], reason: zen-disco-jo
in (elected_as_master)
[2012-12-20 17:41:56,038][WARN ][transport.netty ] [Drumm, Jericho] exception caught on transport layer [[id: 0x8e409dd8]], closing connection
java.net.SocketException: Address family not supported by protocol family: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(Nio
ClientSocketPipelineSink.java:148)
Has anybody seen this problem? I found some the link http://elasticsearch-users.115913.n3.nabble.com/Starting-ES-given-Exception-td4023806.html, but they got side tracked and never explained what is the root of the problem. I think the problem is with “0.0.0.0:9300” address, but why elasticsearch is trying to use this one instead of my laptop address 192.168.0.6.
Regrds,
Janusz