# My elasticsearch.yml not loading in production cluster

**URL:** https://discuss.elastic.co/t/my-elasticsearch-yml-not-loading-in-production-cluster/32966
**Category:** Elasticsearch
**Created:** [October 26, 2015, 9:01am UTC](https://discuss.elastic.co/t/my-elasticsearch-yml-not-loading-in-production-cluster/32966 "2015-10-26T09:01:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [October 26, 2015, 9:01am UTC](https://discuss.elastic.co/t/my-elasticsearch-yml-not-loading-in-production-cluster/32966/1 "2015-10-26T09:01:48Z")

</div>

Hi All,

I found one scenario in my prod cluster is my elasticsearch.yml configurations file not loading.  
recently i updated my conf file with CORS properties when i restarted node1 in my cluster changes not effecting to cluster which is worked on beta. i entered some scrap values in my elasticsearch.yml file and restarted node in cluster .node is started successfully with out throwing any error so i came to a conclusion that my prod yml files not loading properly please help me out how to solve this issue.my linux boxes are RHEL 6.5. using /etc/sysconfig/elasticsearch file to load respective paths.

Thank & Regards,  
phani

---

<div class="post-metadata">

### Author: ![niraj\_kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niraj_kumar/32/4130_2.png) [@niraj\_kumar](https://discuss.elastic.co/u/niraj_kumar)
#### Post date: [October 26, 2015, 11:26pm UTC](https://discuss.elastic.co/t/my-elasticsearch-yml-not-loading-in-production-cluster/32966/2 "2015-10-26T23:26:20Z")

</div>

Hi @Phani_Nadiminti,

Did you mean to say the node is not started successfully? Can you paste your yml file here also the logs.

Regards  
Niraj

---

<div class="post-metadata">

### Author: ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)
#### Post date: [October 27, 2015, 6:17pm UTC](https://discuss.elastic.co/t/my-elasticsearch-yml-not-loading-in-production-cluster/32966/3 "2015-10-27T18:17:17Z")

</div>

Hi niraj

Thank you for reply..problem with white spaces in configuration file.due to that cors properties defined bottom of the config file not effecting to cluster. now issue has been solved cors working fine.

Thanks,  
Phani

---

<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:42pm UTC](https://discuss.elastic.co/t/my-elasticsearch-yml-not-loading-in-production-cluster/32966/4 "2017-07-05T23:42:21Z")

</div>


