# Accidently ran another instance of elasticsearch on a node

**URL:** <https://discuss.elastic.co/t/accidently-ran-another-instance-of-elasticsearch-on-a-node/20646>\
**Category:** Elasticsearch\
**Created:** [November 8, 2014, 8:11am UTC](https://discuss.elastic.co/t/accidently-ran-another-instance-of-elasticsearch-on-a-node/20646 "2014-11-08T08:11:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johd/32/1028_2.png) [@johd](https://discuss.elastic.co/u/johd)\
**Post date:** [November 8, 2014, 8:11am UTC](https://discuss.elastic.co/t/accidently-ran-another-instance-of-elasticsearch-on-a-node/20646/1 "2014-11-08T08:11:42Z")

</div>

Hi, while trying to set up an another process as master, i believe i for some time ran multiple instances of elasticsearch on three nodes.

On these nodes, its looks like this:  
/var/lib/elasticsearch/elasticsearch/indices/0  
/var/lib/elasticsearch/elasticsearch/indices/1

On my other nodes, that are fine it looks like:  
/var/lib/elasticsearch/elasticsearch/indices/0

So, there is alot of data in the "1"-directory on three nodes, and these shards will not be ASSIGNED, my cluster stays yellow.

This mistake happend 1 week ago, since then i have restarted ES a couple of times, but it was just now that i got the problem.

How can i fix this?

At the moment im running 5 nodes, where 3 runs another instance of elasticsearch, as just masters

---

<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, 12:51am UTC](https://discuss.elastic.co/t/accidently-ran-another-instance-of-elasticsearch-on-a-node/20646/2 "2017-07-06T00:51:20Z")

</div>


