# Issue while running logstash

**URL:** <https://discuss.elastic.co/t/issue-while-running-logstash/139487>\
**Category:** Logstash\
**Created:** [July 11, 2018, 6:59am UTC](https://discuss.elastic.co/t/issue-while-running-logstash/139487 "2018-07-11T06:59:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 11, 2018, 6:59am UTC](https://discuss.elastic.co/t/issue-while-running-logstash/139487/1 "2018-07-11T06:59:02Z")

</div>

bin/logstash -f testing.config  
Sending Logstash's logs to /home/elkuser/elk/logstash-6.3.1/logs which is now co nfigured via log4j2.properties  
[2018-07-11T12:22:46,237][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-07-11T12:22:46,259][FATAL][logstash.runner] Logstash could not b e started because there is already another instance using the configured data di rectory. If you wish to run multiple instances, you must change the "path.data" setting.  
[2018-07-11T12:22:46,265][ERROR][org.logstash.Logstash] java.lang.IllegalSta teException: Logstash stopped processing because of an error: (SystemExit) exit

---

<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:** [July 11, 2018, 12:08pm UTC](https://discuss.elastic.co/t/issue-while-running-logstash/139487/2 "2018-07-11T12:08:46Z")

</div>

Do you already have a Logstash instance running in the background?

---

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 11, 2018, 2:11pm UTC](https://discuss.elastic.co/t/issue-while-running-logstash/139487/3 "2018-07-11T14:11:30Z")

</div>

i deleted .lock file and issue is now gone ...thanks..

---

<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 8, 2018, 2:11pm UTC](https://discuss.elastic.co/t/issue-while-running-logstash/139487/4 "2018-08-08T14:11:31Z")

</div>

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