# I cannot start logstash on my machine. Error message inside

**URL:** <https://discuss.elastic.co/t/i-cannot-start-logstash-on-my-machine-error-message-inside/88900>\
**Category:** Logstash\
**Created:** [June 10, 2017, 12:07am UTC](https://discuss.elastic.co/t/i-cannot-start-logstash-on-my-machine-error-message-inside/88900 "2017-06-10T00:07:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Makra](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Makra](https://discuss.elastic.co/u/Makra)\
**Post date:** [June 10, 2017, 1:49am UTC](https://discuss.elastic.co/t/i-cannot-start-logstash-on-my-machine-error-message-inside/88900/2 "2017-06-10T01:49:33Z")

</div>

> [@dona](#):
>
> Path "/usr/share/logstash/data" must be a writable directory. It is not writable.

The directory /usr/share/logstash must be owned by logstash and the permission of data directory should be 777

$ chown -R logstash.logstash /usr/share/logstash  
$ chmod 777 /usr/share/logstash/data

Also check the user who owns logstash in /etc/default/logstash by default it is logstash.

.................................  
................................  
LS\_USER="logstash"  
LS\_GROUP="logstash"  
...............................  
..............................

---

_[View the full topic](https://discuss.elastic.co/t/i-cannot-start-logstash-on-my-machine-error-message-inside/88900)._
