# Logstash stop working due to FFI not available: null

**URL:** <https://discuss.elastic.co/t/logstash-stop-working-due-to-ffi-not-available-null/343174>\
**Category:** Logstash\
**Created:** [September 16, 2023, 10:04am UTC](https://discuss.elastic.co/t/logstash-stop-working-due-to-ffi-not-available-null/343174 "2023-09-16T10:04:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [September 16, 2023, 2:53pm UTC](https://discuss.elastic.co/t/logstash-stop-working-due-to-ffi-not-available-null/343174/2 "2023-09-16T14:53:11Z")

</div>

> [@lalchand\_rajak](#):
>
> `drwxrwxr-x. 2 logstash logstash 6 Sep 16 13:25 tmp`

And what are ther permissions of the parent folder, `apmuser`? Logstash would need permissions on this folder as well.

User folders have permissions only for the user, you would need to change the permissions of the `/home/apmuser` folder.

But I would not recommend this, using another user folder for logstash tmp path, you should create a new path like `/opt/logstash_tmp`, give permissions to the `logstash` user and use this path as the tmp path.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-stop-working-due-to-ffi-not-available-null/343174)._
