# ElasticSearch Cluster Setup Issue with Master

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691>\
**Category:** Elasticsearch\
**Created:** [October 11, 2016, 8:41am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691 "2016-10-11T08:41:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasad7](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@prasad7](https://discuss.elastic.co/u/prasad7)\
**Post date:** [October 11, 2016, 8:41am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691/1 "2016-10-11T08:41:23Z")

</div>

Hi Guys,

I am getting the below error while trying to create an elasticsearch cluster:

systemctl status elasticsearch  
elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled)  
Active: failed (Result: exit-code) since Mon 2016-10-10 09:40:59 EDT; 18h ago  
Docs: [http://www.elastic.co](http://www.elastic.co)  
Main PID: 32421 (code=exited, status=1/FAILURE)

Please help me out to fix?

Thanks, Prasad

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 11, 2016, 8:54am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691/2 "2016-10-11T08:54:38Z")

</div>

What do the Elasticsearch logs show?

---

<div class="post-metadata">

**Author:** ![prasad7](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@prasad7](https://discuss.elastic.co/u/prasad7)\
**Post date:** [October 11, 2016, 9:09am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691/3 "2016-10-11T09:09:41Z")

</div>

I see an empty logging.xml file in /etc/elasticsearch/ folder. Do we have any other location to view the log info?

---

<div class="post-metadata">

**Author:** ![prasad7](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@prasad7](https://discuss.elastic.co/u/prasad7)\
**Post date:** [October 11, 2016, 9:24am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691/4 "2016-10-11T09:24:39Z")

</div>

I am getting the issue only on master node but the other 2 slave nodes are running fine.

elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled)  
Active: failed (Result: exit-code) since Tue 2016-10-11 05:21:36 EDT; 10s ago  
Docs: [http://www.elastic.co](http://www.elastic.co)  
Main PID: 20966 (code=exited, status=1/FAILURE)

Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: at org.elasticsearch.common.settings.loader.YamlSettingsLoader....:46)  
Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: at org.elasticsearch.common.settings.Settings$Builder.loadFromS...080)  
Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: at org.elasticsearch.common.settings.Settings$Builder.loadFromP...067)  
Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: at org.elasticsearch.node.internal.InternalSettingsPreparer.pre...:88)  
Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: at org.elasticsearch.bootstrap.Bootstrap.initialSettings(Bootst...202)  
Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:241)  
Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch...:35)  
Oct 11 05:21:36 [x.com](http://x.com) elasticsearch[20966]: Refer to the log for complete error details.  
Oct 11 05:21:36 [x.com](http://x.com) systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE  
Oct 11 05:21:36 [x.com](http://x.com) systemd[1]: Unit elasticsearch.service entered failed state.  
Hint: Some lines were ellipsized, use -l to show in full.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 11, 2016, 10:00am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691/5 "2016-10-11T10:00:51Z")

</div>

There is no such thing as a slave node in ES.

`/etc/elasticsearch` is for config, look under `/var/log`

---

<div class="post-metadata">

**Author:** ![prasad7](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@prasad7](https://discuss.elastic.co/u/prasad7)\
**Post date:** [October 12, 2016, 6:12am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691/6 "2016-10-12T06:12:13Z")

</div>

Actually I am creating a cluster on 3 nodes, and 1 node as master, 1 node as data node and another as client node,

i followed the below link:  
[http://www.tuxfixer.com/install-and-configure-elasticsearch-cluster-on-centos-7-nodes/](http://www.tuxfixer.com/install-and-configure-elasticsearch-cluster-on-centos-7-nodes/)

So all is fine except the master node when i try to run the below command is failing:  
systemctl status elasticsearch

Error:  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled)  
Active: failed (Result: exit-code) since Wed 2016-10-12 02:01:34 EDT; 424ms ago  
Docs: [http://www.elastic.co](http://www.elastic.co)  
Main PID: 22310 (code=exited, status=1/FAILURE)

Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: at org.elasti...  
Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: at org.elasti...  
Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: at org.elasti...  
Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: at org.elasti...  
Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: at org.elasti...  
Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: at org.elasti...  
Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: at org.elasti...  
Oct 12 02:01:34 [c.com](http://c.com) elasticsearch[22310]: Refer to the ...  
Oct 12 02:01:34 [c.com](http://c.com) systemd[1]: elasticsearch.service: ...  
Oct 12 02:01:34 [c.com](http://c.com) systemd[1]: Unit elasticsearch.serv...  
Hint: Some lines were ellipsized, use -l to show in full.

Please help me to fix this issue?

Thanks, Prasad

---

<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 5, 2017, 10:13pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-setup-issue-with-master/62691/7 "2017-07-05T22:13:10Z")

</div>


