logstash-plugin没有woking

时间:2017-08-23 20:31:16

标签: java elasticsearch logstash

我已经在我的服务器上安装了elasticsearch,kibana和logstash,以便完成工作但是我想要安装插件我有这个错误消息

 Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated in version 9.0 and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
io/console on JRuby shells out to stty for most operations
LoadError: load error: jopenssl/load -- java.lang.ExceptionInInitializerError: null
  require at org/jruby/RubyKernel.java:1040
  require at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54
   (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/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
  require at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54
  require at org/jruby/RubyKernel.java:1040
   (root) at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/security.rb:11
   (root) at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
  require at org/jruby/RubyKernel.java:1040
  require at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54
   (root) at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/package.rb:43
  require at org/jruby/RubyKernel.java:1040
   (root) at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
  require at /usr/share/logstash/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54

我尝试安装插件一行写这行

sudo -u logstash /urs/share/logstash/bin/logstash-plugin install logstash-filter-geoip

就像在这个tuto中一样 https://www.elastic.co/webinars/getting-started-logstash?baymax=default&elektra=docs&storm=top-video

我也是这样尝试

sudo ./logstash-plugin install logstash-filter-geoip

我的java版本是9,而我的/etc/environment a只有我的java_home变量

JAVA_HOME="/usr/lib/jvm/java-9-oracle/bin/java"
JAVACMD=/usr/bin/java
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

我尝试将此变量放在我的.bashrc中,但无效 我的服务器版本是ubuntu 16.04

我要将我的java版本改为8但没有改变

0 个答案:

没有答案