Problem description: Start kibana7.4.1 on the Arm server and report Sending Logstash logs to /home/logstash-6.8.4/logs which is now configured via log4j2.properties
[2019-12-02T14:13:48,010][ERROR][ org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) load error: ffi/ffi — java.lang.NullPointerException: null
Cause of the problem: lib/ruby/stdlib/ffi/platform/aarch64-linux/ needs to be missing the platform.conf file, resulting in an abnormal code error
Solution: Copy lib/ruby/stdlib/ffi/platform/aarch64-linux/types.conf and re-command to platform.conf, and repackage jruby-complete-9.2.7.0.jar:
cd /opt/logstash-6.8.4/logstash-core/lib/jars
mkdir -p jruby-complete-9.2.7.0
mv jruby-complete-9.2.7.0.jar jruby-complete-9.2.7.0.jar_bak
cp jruby-complete -9.2.7.0.jar jruby-complete-9.2.7.0/
cd jruby-complete-9.2.7.0/
unzip jruby-complete-9.2.7.0.jar
cd logstash-core/lib/jars/jruby-complete-9.2.7.0/ META-INF/jruby.home/lib/ruby/stdlib/ffi/platform/aarch64-linux
cp types.conf platform.conf
cd /opt/logstash-6.7.4/logstash-core/lib/jars/jruby-complete- 9.2.7.0/
rm jruby-complete-9.2.7.0.jar
zip -r jruby-complete-9.2.7.0.jar *
mv jruby-complete-9.2.7.0.jar ../
Start Logstash:
./logstash -e ‘input { stdin { } } output { stdout {} }’
Read More:
- Exception: logstash:: pluginloadingerror when importing MySQL data into es in Windows
- How to Solve elasticsearch and logstash Install Error
- How to Solve elk7.7.1 logstash Install Error
- [Solved] Kibana Error: Kibana server is not ready yet
- After configuring the ES password, logstash starts with error 401?
- How to Solve Logstash error: failed to execute action
- [Solved] kafka Startup Error: ERROR Shutdown broker because all log dirs in /…/kafka/logs have failed (kafka.log.LogManager)
- Kafka error: ERROR There was an error in one of the threads during logs loading: java.lang.NumberFormatException: For input string: “derby” (kafka.log.LogManager)
- log4j Error: Please initialize the log4j system properly [How to Solve]
- Kafka Creates and Writes Logs Error [How to Solve]
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details
- Nacos Error: server is DOWN now, please try again later! [How to Solve]
- Unable to import maven project: See logs for details [Solved]
- [Solved] Redis Execute redis-cli shutdown Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- Manifest merger failed with multiple errors, see logs [How to Solve]
- [Solved] Android Studio Manifest merger failed with multiple errors, see logs
- [Solved] Manifest merger failed with multiple errors, see logs
- [Solved] Manifest merger failed with multiple errors, see logs
- Redis Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- AAPT2 error: check logs for details [How to Solve]