$ 2013-03-29 15:09:49,654 WARN : org.elasticsearch.discovery -
[graylog2-server] waited for 30s and no initial state was set by the
discovery
Exception in thread "main"
org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]
Am I right understand that Graylog2-server cann't connect to Elasticsearch?
yes
Can somebody please give any idea to fix it?
it looks like you are trying to use multicast discovery.
check that your Elasticsearch cluster is up and try to disable multicast discovery and use unicast discovery in elasticsearch.yml (the one used in graylog2-server, not the one in elasticsearch itself).
it looks like you are trying to use multicast discovery.
check that your Elasticsearch cluster is up and try to disable multicast
discovery and use unicast discovery in elasticsearch.yml (the one used in
graylog2-server, not the one in elasticsearch itself).
On 03/29/2013 04:53 PM, Kay Röpke wrote:
it looks like you are trying to use multicast discovery.
check that your Elasticsearch cluster is up and try to disable multicast
discovery and use unicast discovery in elasticsearch.yml (the one used in
graylog2-server, not the one in elasticsearch itself).
Thank for replay.
So I uncomment:
discovery.zen.ping.multicast.enabled: false
and:
discovery.zen.ping.unicast.hosts
And after that restarted Elastic.
But still have errors:
java -jar graylog2-server.jar --debug >
/home/setevoy/graylogstart-debug2.txt
Exception in thread "main"
org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]
at
org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$3.onTimeout(TransportMasterNodeOperationAction.java:169)
at
org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:356)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
github has deprecated the uploads, so we can't upload binaries there anymore.
I guess the read me should mention that explicitly.
Get the latest from http://www.graylog2.org/download always
As for your discovery:
you put 127.0.0.1:9350 into your discovery list.
But that's the address of the graylog2-server Elasticsearch node, which it uses as a client to connect to the cluster.
You have to put in the address of the Elasticsearch cluster you are running
As for your discovery:
you put 127.0.0.1:9350 into your discovery list.
But that's the address of the graylog2-server Elasticsearch node, which it uses as a client to connect to the cluster.
You have to put in the address of the Elasticsearch cluster you are running
Kay, thanks - but I'll check it later on. Anyone sometimes must have
weekend
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.