maintainer-feedback requested: [Bug 241312] sysutils/logstash6 Cipher Error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 17 16:27:59 UTC 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-elastic mailing
list <elastic at FreeBSD.org> for maintainer-feedback:
Bug 241312: sysutils/logstash6 Cipher Error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241312



--- Description ---
I am running FreeBSD 11.3 amd64 and installed the newest version of logstash6. 

When I try to start logstash the service does start for about 20 seconds then
kills itself. I turned on trace logging and found two interesting things:

1. Logstash is looking for ciphers that are not there. Note: in my logstash
conf file I tried different ciphers by the cipher_suites option and allowed
them all at one point, that made no difference.
2. Java is trying to load some netty library.

I have netty installed on the system too.

[2019-10-17T15:42:27,065][ERROR][logstash.pipeline	  ] Pipeline aborted
due to error {:pipeline_id=>"main", :exception=>#<LogStash::ConfigurationError:
Cipher `TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256` is not available>,
:backtrace=>["/usr/local/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input
-beats-5.1.6-java/lib/logstash/inputs/beats.rb:182:in
`create_server'",
"/usr/local/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-beats-5.1.6-
java/lib/logstash/inputs/beats.rb:170:in
`register'", "/usr/local/logstash/logstash-core/lib/logstash/pipeline.rb:242:in
`register_plugin'",
"/usr/local/logstash/logstash-core/lib/logstash/pipeline.rb:253:in `block in
register_plugins'", "org/jruby/RubyArray.java:1734:in `each'",
"/usr/local/logstash/logstash-core/lib/logstash/pipeline.rb:253:in
`register_plugins'",
"/usr/local/logstash/logstash-core/lib/logstash/pipeline.rb:396:in
`start_inputs'",
"/usr/local/logstash/logstash-core/lib/logstash/pipeline.rb:294:in
`start_workers'",
"/usr/local/logstash/logstash-core/lib/logstash/pipeline.rb:200:in `run'",
"/usr/local/logstash/logstash-core/lib/logstash/pipeline.rb:160:in `block in
start'"], :thread=>"#<Thread:0x55053c00 run>"}

[2019-10-17T15:42:26,385][DEBUG][io.netty.util.internal.PlatformDependent]
-Dio.netty.tmpdir: /tmp (java.io.tmpdir)
[2019-10-17T15:42:26,385][DEBUG][io.netty.util.internal.PlatformDependent]
-Dio.netty.bitMode: 64 (sun.arch.data.model)
[2019-10-17T15:42:26,386][DEBUG][io.netty.util.internal.PlatformDependent]
-Dio.netty.noPreferDirect: false
[2019-10-17T15:42:26,386][DEBUG][io.netty.util.internal.PlatformDependent]
-Dio.netty.maxDirectMemory: 1038876672 bytes
[2019-10-17T15:42:26,386][DEBUG][io.netty.util.internal.PlatformDependent]
-Dio.netty.uninitializedArrayAllocationThreshold: -1
[2019-10-17T15:42:26,387][DEBUG][io.netty.util.internal.CleanerJava6]
java.nio.ByteBuffer.cleaner(): available
[2019-10-17T15:42:26,390][DEBUG][io.netty.util.internal.NativeLibraryLoader]
-Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
[2019-10-17T15:42:26,391][DEBUG][io.netty.util.internal.NativeLibraryLoader]
Unable to load the library 'netty_tcnative_freebsd_x86_64', trying other
loading mechanism.
java.lang.UnsatisfiedLinkError: no netty_tcnative_freebsd_x86_64 in
java.library.path

Thank you.

Note: I get the same errors trying to run logstash5.


More information about the freebsd-elastic mailing list