[英]Logstash stopped processing because of an error: (NameError) cannot load (ext) (org.jruby.ext.openssl.OpenSSL)
Today i was try to run logstash in Microsoft Windows Server 2012 R2 Standard and when i started my logstash instance, it gave me an error.今天我尝试在Microsoft Windows Server 2012 R2 Standard 中运行 logstash,当我启动我的 logstash 实例时,它给了我一个错误。 Elasticsearch is running successfully 9200 and I have already setup JAVA_HOME path and below you can see the Java Version.
Elasticsearch 在 9200 上运行成功,我已经设置了 JAVA_HOME 路径,在下面你可以看到 Java 版本。
C:\logstash\bin>java -version
openjdk version "1.8.0_41"
OpenJDK Runtime Environment (build 1.8.0_41-b04)
OpenJDK Client VM (build 25.40-b25, mixed mode)
C:\logstash\bin>javac -version
javac 1.8.0_41
And the logstash version is "logstash-7.6.1".而logstash 版本是“logstash-7.6.1”。 Below is the output snippet
下面是输出片段
C:\logstash> .\bin\logstash -e "input { stdin { } } output { stdout { } }" --debug
[ERROR] 2020-03-12 12:18:47.015 [main] Logstash - java.lang.IllegalStateException: Logstash
stopped processing
because of an error: (NameError) cannot load (ext) (org.jruby.ext.openssl.OpenSSL)
Below some configuration and please help what possibly gone wrong?下面是一些配置,请帮忙看看可能出了什么问题?
and和
Remove all of your existing openjdk installations and install openjdk 8.删除所有现有的 openjdk 安装并安装 openjdk 8。
Reference: https://github.com/elastic/logstash/issues/11107参考: https : //github.com/elastic/logstash/issues/11107
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.