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 elk7.7.1 logstash Install Error
- After configuring the ES password, logstash starts with error 401?
- How to Solve Logstash error: failed to execute action
- Hbase Shell startup error: [ERROR] Terminal initialization failed; falling back to unsupported
- How to Solve elasticsearch-7.15.1 operation errors
- Error: a JNI error has occurred, please check your installation and try again
- How to Solve elasticsearch root user start Error
- [Solved] Flume Error: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
- How to Solve ruby rails Install Error [Windows]
- [Jeston Xavier NX Compile librealsense Error] AttributeError: module ‘pyrealsense2‘ has no attribute ‘pipeline‘
- org/sqlite/native/Mac/aarch64 Error [How to Solve]
- How to Solve Docker Run Error: standard_init_linux.go:219: exec user process caused: exec format error
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details
- [Solved] Error in integrating redis with springboot: unable to connect to redis
- [Solved] cocopod Error: failed: undefined method `map‘ for nil:NilClass
- Log separation using tool cronlog
- [Solved] Redis startup error Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
- AN ERROR MESSAGE APPEARS WHEN TOMCAT DEPLOYS A NEW PROJECT: INVALID BYTE TAG IN CONSTANT POOL: 15
- [Solved] New MAC Unity Develop Error: error installing cocoapods