# Logstash 6.1.1 isn't executing \[logging issue\]

**URL:** <https://discuss.elastic.co/t/logstash-6-1-1-isnt-executing-logging-issue/113745>\
**Category:** Logstash\
**Created:** [January 2, 2018, 9:09am UTC](https://discuss.elastic.co/t/logstash-6-1-1-isnt-executing-logging-issue/113745 "2018-01-02T09:09:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vigneshaj](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vigneshaj](https://discuss.elastic.co/u/vigneshaj)\
**Post date:** [January 2, 2018, 9:09am UTC](https://discuss.elastic.co/t/logstash-6-1-1-isnt-executing-logging-issue/113745/1 "2018-01-02T09:09:53Z")

</div>

Hi - I have a 3 node cluster that i am trying to setup and run the ELK stack.

Elastic search is configured and runs ok in all 3 nodes.

Have 2 issues:

#1: In Node1: while running the conf file i get the following error:  
FileManager (/var/log/logstash/logstash-plain.log) java.io.FileNotFoundException: /var/log/logstash/logstash-plain.log (Permission denied).

#2 modifying the privilege chmod 777 still doesn't resolve the issue. So i modified the default log direectory in log4j2.properties [variable appender.rolling.filename as /home/user instead of default configuration]

then again, i get this error:  
(An unexpected error occurred! {:error=\>java.nio.file.AccessDeniedException: /var/lib/logstash/.lock, )

can you also let me know where can i find: ${sys:ls.logs}

---

<div class="post-metadata">

**Author:** ![vigneshaj](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vigneshaj](https://discuss.elastic.co/u/vigneshaj)\
**Post date:** [January 3, 2018, 8:54am UTC](https://discuss.elastic.co/t/logstash-6-1-1-isnt-executing-logging-issue/113745/2 "2018-01-03T08:54:00Z")

</div>

modifying the privilege chmod 777 for .lock file in log folder fixed the issue.

---

<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:** [January 5, 2018, 9:52am UTC](https://discuss.elastic.co/t/logstash-6-1-1-isnt-executing-logging-issue/113745/3 "2018-01-05T09:52:23Z")

</div>

Chmodding to 777 isn't the proper solution to anything. Fix the real problem. It appears you're running Logstash as a user that doesn't have access to the right files.

---

<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:** [February 2, 2018, 9:52am UTC](https://discuss.elastic.co/t/logstash-6-1-1-isnt-executing-logging-issue/113745/4 "2018-02-02T09:52:40Z")

</div>

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