# ElasticSearch & Graylog2 connection problem

**URL:** <https://discuss.elastic.co/t/elasticsearch-graylog2-connection-problem/11382>\
**Category:** Elasticsearch\
**Created:** [March 29, 2013, 2:35pm UTC](https://discuss.elastic.co/t/elasticsearch-graylog2-connection-problem/11382 "2013-03-29T14:35:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![setevoy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/setevoy/32/2416_2.png) [@setevoy](https://discuss.elastic.co/u/setevoy)\
**Post date:** [March 29, 2013, 2:35pm UTC](https://discuss.elastic.co/t/elasticsearch-graylog2-connection-problem/11382/1 "2013-03-29T14:35:50Z")

</div>

Hi.

I'm absolutely new with **Graylog2** & **ElasticSearch** - so sorry if anything wrong.

After I installed it with [that](http://support.torch.sh/help/kb/graylog2-server/installing-graylog2-server-on-debian-6) and [that](http://bezha.od.ua/centos-6-2-x64-graylog2-v0-9-6/) instructions - I got error when start it:  
  
_$ 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]_

Full debug-log available [here](http://rtfm.co.ua/uploads/graylogstart-debug.txt).

Used:

_# lsb\_release -a  
Description: Debian GNU/Linux 6.0.7 (squeeze)_

Package: elasticsearch  
Version: 0.20.6

Graylog2-server:  
0.10.0-rc.1

Am I right understand that **Graylog2-server** cann't connect to **ElasticSearch**?

Can somebody please give any idea to fix it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:43am UTC](https://discuss.elastic.co/t/elasticsearch-graylog2-connection-problem/11382/2 "2017-07-06T02:43:35Z")

</div>


