# Logstash-5.4-Executing multiple conf files throws errors

**URL:** <https://discuss.elastic.co/t/logstash-5-4-executing-multiple-conf-files-throws-errors/89179>\
**Category:** Logstash\
**Created:** [June 13, 2017, 11:38am UTC](https://discuss.elastic.co/t/logstash-5-4-executing-multiple-conf-files-throws-errors/89179 "2017-06-13T11:38:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![riddhijit\_roy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/riddhijit_roy/32/19049_2.png) [@riddhijit\_roy](https://discuss.elastic.co/u/riddhijit_roy)\
**Post date:** [June 13, 2017, 11:38am UTC](https://discuss.elastic.co/t/logstash-5-4-executing-multiple-conf-files-throws-errors/89179/1 "2017-06-13T11:38:55Z")

</div>

In the previous versions of Logstash one could run multiple conf files and it would run without any errors.  
For instance ,  
"abc-test.conf" and "abc-dev.conf" would run simultaneously .  
However in logstash-5.4 running the first conf file somehow restricts the user from running the second one . The following error is returned :

**[FATAL][logstash.runner] Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting.**

I am guessing it is a change in the present usage of the logstash pipeline . Or is it something I am missing ? Kindly help.

---

<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:** [June 13, 2017, 1:09pm UTC](https://discuss.elastic.co/t/logstash-5-4-executing-multiple-conf-files-throws-errors/89179/2 "2017-06-13T13:09:26Z")

</div>

> However in logstash-5.4 running the first conf file somehow restricts the user from running the second one .

With the same path.data setting, yes. The setting can be overridden with the `--path.data` command line option.

---

<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 11, 2017, 1:09pm UTC](https://discuss.elastic.co/t/logstash-5-4-executing-multiple-conf-files-throws-errors/89179/3 "2017-07-11T13:09:42Z")

</div>

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