Tuesday, September 2, 2014

LogStash - 'Could not load FFI Provider'

1. version

- 1.4.2

2. Error

- LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null

3. Solution

- cd logstash-1.4.2/bin
- vim logstash.lib.sh
- add 'JAVA_OPTS="$JAVA_OPTS -Djava.io.tmpdir=/path/to/somewhere"
- mkdir /path/to/somewhere
- start logstash

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.