# LOGSTASH system exit error while running logstash conf file

**URL:** <https://discuss.elastic.co/t/logstash-system-exit-error-while-running-logstash-conf-file/209500>\
**Category:** Logstash\
**Created:** [November 26, 2019, 12:04pm UTC](https://discuss.elastic.co/t/logstash-system-exit-error-while-running-logstash-conf-file/209500 "2019-11-26T12:04:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viveck](https://avatars.discourse-cdn.com/v4/letter/v/cc9497/32.png) [@Viveck](https://discuss.elastic.co/u/Viveck)\
**Post date:** [November 26, 2019, 12:04pm UTC](https://discuss.elastic.co/t/logstash-system-exit-error-while-running-logstash-conf-file/209500/1 "2019-11-26T12:04:01Z")

</div>

When running my logstash conf file getting this type of error,plz help

[root@localhost logstash]# ./bin/logstash -f /etc/logstash/conf.d/logstash-sample.conf  
Thread.exclusive is deprecated, use Thread::Mutex  
WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults  
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console  
[WARN] 2019-11-26 17:04:33.772 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[FATAL] 2019-11-26 17:04:33.785 [LogStash::Runner] 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.  
[ERROR] 2019-11-26 17:04:33.794 [LogStash::Runner] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

---

<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:** [December 24, 2019, 12:04pm UTC](https://discuss.elastic.co/t/logstash-system-exit-error-while-running-logstash-conf-file/209500/2 "2019-12-24T12:04:03Z")

</div>

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