# Elasticsearch seems not reading my elasticsearch.yml

**URL:** https://discuss.elastic.co/t/elasticsearch-seems-not-reading-my-elasticsearch-yml/33609
**Category:** Elasticsearch
**Created:** [November 3, 2015, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-seems-not-reading-my-elasticsearch-yml/33609 "2015-11-03T08:49:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rsjavier](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rsjavier](https://discuss.elastic.co/u/rsjavier)
#### Post date: [November 3, 2015, 8:49am UTC](https://discuss.elastic.co/t/elasticsearch-seems-not-reading-my-elasticsearch-yml/33609/1 "2015-11-03T08:49:08Z")

</div>

Hi,

I currently have one cluster one node (ES v1.5.4) setup. I want to add a node to the cluster but I am having problem. One thing I notice after editing the yml file is that, elasticsearch seems not reading it. I tried several thing but it really looks like its not reading the yml.

I change the following in the /etc/elasticsearch/elasticsearch.yml but it does not reflect on my first node.

cluster.name: elasticsearch2  
node.name: "node1"  
node.master: true  
node.data: true

Here is the result of the health check and node check  
[root@ip-10-0-0-35 elasticsearch]# curl 'localhost:9200/\_cat/nodes?v'  
host ip heap.percent ram.percent load node.role master name  
ip-10-0-0-35.ap-southeast-1.compute.internal 10.0.0.35 6 32 1.22 d \* Sigmar

[root@ip-10-0-0-35 elasticsearch]# curl 'localhost:9200/\_cat/health?v'  
epoch timestamp cluster status node.total node.data shards pri relo init unassign  
1446540748 03:52:28 elasticsearch yellow 1 1 451 451 0 0 451

Is there are other places to configure elasticsearch? How to resolve this issue?

Thanks!

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [November 3, 2015, 9:15am UTC](https://discuss.elastic.co/t/elasticsearch-seems-not-reading-my-elasticsearch-yml/33609/2 "2015-11-03T09:15:07Z")

</div>

How are you starting ES? What's its command line (`ps aux | grep elasticsearch`)?

---

<div class="post-metadata">

### Author: ![rsjavier](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rsjavier](https://discuss.elastic.co/u/rsjavier)
#### Post date: [November 3, 2015, 9:26am UTC](https://discuss.elastic.co/t/elasticsearch-seems-not-reading-my-elasticsearch-yml/33609/3 "2015-11-03T09:26:37Z")

</div>

Hi Magnus,

I have notice that CONF\_DIR is not included when i check using ps, the service script might have been edited before.

So this is the case.

Thanks!

---

<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, 11:40pm UTC](https://discuss.elastic.co/t/elasticsearch-seems-not-reading-my-elasticsearch-yml/33609/4 "2017-07-05T23:40:59Z")

</div>


