Logstash Fails To Startup

When I try to start up my logstash agent with a basic config, I get the following.

[ERROR] 2019-03-19 16:50:26.469 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) load error: jopenssl/load -- java.lang.InternalError: null

The command I use to start it is below.

logstash -e "input {stdin {}}output {stdout {}}" --debug

I have tried running this as sudo also. Anybody have any suggestions on how to debug this.

I am running the following version of java.

openjdk version "1.8.0_121" OpenJDK Runtime Environment (IcedTea 3.3.0) (Gentoo icedtea-3.3.0) OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

I haven't seen that error before. And your start command works on my test logstash setup.

Try Googling "load error: jopenssl/load". There are a handful of hits for logstash like this one:

As suspected it was a java version issue. Java was updated to

openjdk version "1.8.0_171"
OpenJDK Runtime Environment (IcedTea 3.8.0) (Gentoo icedtea-3.8.0)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)

and all of a sudden it is working. Thanks for taking a look.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.