# Running a second elasticsearch instance

**URL:** <https://discuss.elastic.co/t/running-a-second-elasticsearch-instance/151712>\
**Category:** Elasticsearch\
**Created:** [October 9, 2018, 9:09pm UTC](https://discuss.elastic.co/t/running-a-second-elasticsearch-instance/151712 "2018-10-09T21:09:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jspeer](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jspeer](https://discuss.elastic.co/u/jspeer)\
**Post date:** [October 9, 2018, 9:09pm UTC](https://discuss.elastic.co/t/running-a-second-elasticsearch-instance/151712/1 "2018-10-09T21:09:03Z")

</div>

I'm trying to startup multiple Elasticsearch JVMs on the same node. I've separated all of the configuration files, and when I try to start the first instance I receive the following error:

/usr/share/elasticsearch/bin/elasticsearch-env: line 70: /etc/sysconfig/elasticsearch: No such file or directory

I had hoped to be able to only install once, and creating the specific configuration files for each JVM, be able to run multiple nodes. This error requires an installation per JVM, is this correct?

I'M using centos 7.5

---

<div class="post-metadata">

**Author:** ![jspeer](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jspeer](https://discuss.elastic.co/u/jspeer)\
**Post date:** [October 9, 2018, 10:31pm UTC](https://discuss.elastic.co/t/running-a-second-elasticsearch-instance/151712/2 "2018-10-09T22:31:53Z")

</div>

It looks like I can comment out that line and continue, as long as all of the configurations are separate.

---

<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:** [November 6, 2018, 10:31pm UTC](https://discuss.elastic.co/t/running-a-second-elasticsearch-instance/151712/3 "2018-11-06T22:31:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
