# Issue to restart ES after modify config file

**URL:** <https://discuss.elastic.co/t/issue-to-restart-es-after-modify-config-file/18596>\
**Category:** Elasticsearch\
**Created:** [July 11, 2014, 9:33am UTC](https://discuss.elastic.co/t/issue-to-restart-es-after-modify-config-file/18596 "2014-07-11T09:33:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zart](https://avatars.discourse-cdn.com/v4/letter/z/3d9bf3/32.png) [@zart](https://discuss.elastic.co/u/zart)\
**Post date:** [July 11, 2014, 9:33am UTC](https://discuss.elastic.co/t/issue-to-restart-es-after-modify-config-file/18596/1 "2014-07-11T09:33:03Z")

</div>

hi  
i wish to modify the shard number in ES 1.1.1  
i am getting some problem after modifying the config file elasticsearch.yml  
i have change that  
index.number\_of\_shards:3  
error i have recieved is below  
_SettingsException[Failed to load settings from [file:/opt/elasticsearch-1.1.1/config/elasticsearch.yml]]  
ScannerException[while scanning a simple key; could not found expected ':'; in 'reader', line 111, column 1:  
# Set the number of replicas (ad ...  
^]_  
can i help me please

---

<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, 1:16am UTC](https://discuss.elastic.co/t/issue-to-restart-es-after-modify-config-file/18596/2 "2017-07-06T01:16:34Z")

</div>

Closed on July 6, 2017, 1:16am UTC


