# Logstash-6.2.4 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

**URL:** <https://discuss.elastic.co/t/logstash-6-2-4-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/132963>\
**Category:** Logstash\
**Created:** [May 23, 2018, 9:28am UTC](https://discuss.elastic.co/t/logstash-6-2-4-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/132963 "2018-05-23T09:28:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vadim\_Klimenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vadim_klimenko/32/31511_2.png) [@Vadim\_Klimenko](https://discuss.elastic.co/u/Vadim_Klimenko)\
**Post date:** [May 23, 2018, 9:28am UTC](https://discuss.elastic.co/t/logstash-6-2-4-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/132963/1 "2018-05-23T09:28:59Z")

</div>

I start Logstash: bin/logstash -f logstash-simple.conf

> Sending Logstash's logs to /home/vadim/www/FULL/Search/logstash-6.2.4/logs which is now configured via log4j2.properties  
> [2018-05-23T12:24:31,891][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"/home/vadim/www/FULL/Search/logstash-6.2.4/modules/netflow/configuration"}  
> [2018-05-23T12:24:31,930][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"/home/vadim/www/FULL/Search/logstash-6.2.4/modules/fb\_apache/configuration"}  
> [2018-05-23T12:24:32,844][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
> [2018-05-23T12:24:32,883][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.  
> [2018-05-23T12:24:32,906][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

And have this error!  
Here is CONF file

 ![Selection_465](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4e16fba9684b8fee082830eb667c88889bc78277.png)

---

<div class="post-metadata">

**Author:** ![Vadim\_Klimenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vadim_klimenko/32/31511_2.png) [@Vadim\_Klimenko](https://discuss.elastic.co/u/Vadim_Klimenko)\
**Post date:** [May 23, 2018, 10:04am UTC](https://discuss.elastic.co/t/logstash-6-2-4-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/132963/2 "2018-05-23T10:04:31Z")

</div>

I solve the problem. After restarting PC all OK

---

<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:** [June 20, 2018, 10:04am UTC](https://discuss.elastic.co/t/logstash-6-2-4-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/132963/3 "2018-06-20T10:04:33Z")

</div>

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