# Data.path problem

**URL:** https://discuss.elastic.co/t/data-path-problem/188902
**Category:** Logstash
**Created:** [July 4, 2019, 11:33am UTC](https://discuss.elastic.co/t/data-path-problem/188902 "2019-07-04T11:33:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rafa\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafa_m/32/46899_2.png) [@Rafa\_M](https://discuss.elastic.co/u/Rafa_M)
#### Post date: [July 4, 2019, 11:33am UTC](https://discuss.elastic.co/t/data-path-problem/188902/1 "2019-07-04T11:33:22Z")

</div>

Hello,  
I installed logstash in a different path of default path. When I'm trying to launch more than 1 pipeline I'm getting the following error:

`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 have configured the logstash.yml with this lines:

```
http.host: "0.0.0.0"
log.level: debug
path.data: /aplicaciones/logstash/data/
path.config: /aplicaciones/logstash/config/

```

Can sombody help me?

Thanks a lot

---

<div class="post-metadata">

### Author: ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)
#### Post date: [July 6, 2019, 9:49pm UTC](https://discuss.elastic.co/t/data-path-problem/188902/2 "2019-07-06T21:49:41Z")

</div>

Are you remembering to tell logstash about the new logstash.yml file when you launch it?

`/path/to/logstash/bin/logstash --path.settings /aplicaciones/logstash/logstash.yml`

You have to define the second logstash.yml settings file manually otherwise it will look at the $LS\_SETTING\_DIR environment variable.

---

<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: [August 3, 2019, 9:49pm UTC](https://discuss.elastic.co/t/data-path-problem/188902/3 "2019-08-03T21:49:53Z")

</div>

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