Logstash throwing error when trying to start on Fedoracore 22


(Sukeerthi Bj) #1

/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/logstash_CPS.conf -t --debug
LoadError: load error: jopenssl/load -- java.lang.InternalError: null
require at org/jruby/RubyKernel.java:1040
(root) at /usr/share/logstash/vendor/jruby/lib/ruby/shared/openssl.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at /usr/share/logstash/logstash-core/lib/logstash/patches/stronger_openssl_defaults.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at /usr/share/logstash/logstash-core/lib/logstash/patches/stronger_openssl_defaults.rb:2
require at org/jruby/RubyKernel.java:1040
(root) at /usr/share/logstash/logstash-core/lib/logstash/patches.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at /usr/share/logstash/logstash-core/lib/logstash/patches.rb:5
require at org/jruby/RubyKernel.java:1040
(root) at /usr/share/logstash/lib/bootstrap/environment.rb:70

Config file content

input {
udp {
host => "10.1.2.8"
port => 5544
codec => netflow {

versions => [5,9,10]

target => ipfix

}
type => ipfix

}
}
output {

stdout { codec => rubydebug {

definitions => "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-netflow-2.0.5/lib/logstash/codecs/netflow/netflow.yaml"

target => ipfix

}

}

file {
path => "/var/log/%{host}/ipfix.log"
}
}

logstash,java and FC versions:

/usr/share/logstash/bin/logstash --version
logstash 5.6.13

java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

uname -a
Linux localhost.localdomain 4.0.4-301.fc22.x86_64 #1 SMP Thu May 21 13:10:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux