Troubleshooting
Problem
[ERROR] [LogStash::Runner] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) Could not load FFI Provider: (NotImplementedError) FFI not available: java.lang.UnsatisfiedLinkError: /tmp/jffi1122334455667788990.so (/tmp/jffi1122334455667788990.so: failed to map segment from shared object: Operation not permitted)
.
.
.
Error accessing temp directory: /tmp
This often occurs because the temp directory has been mounted with NOEXEC or
the Logstash user has insufficient permissions on the directory. Possible workarounds include setting the -Djava.io.tmpdir property in the jvm.options file to an alternate directory or correcting the Logstash user's permissions.
logstash not running
Cause
Diagnosing The Problem
Resolving The Problem
2.1) Goto your logstash-6.3.2/bin directory and edit logstash
2.2) Add the following lines in BOLD:
# LS_JAVA_OPTS="xxx" to append extra options to the JVM options provided by logstash
LS_JAVA_OPTS="-Djava.io.tmpdir=\"<directory name>\""
where <directory name> is the new directory
2.3) Restart Logstash.
Document Location
Worldwide
Product Synonym
LA
Was this topic helpful?
Document Information
Modified date:
07 February 2023
UID
ibm11283158