[英]error while running Logstash.conf file
在我的Unix系統中,我已經安裝了Elasticsearch和Logstash,但是當我嘗試通過命令(logstash代理-f ../first-pipeline.conf)運行logstash.conf文件時,出現以下錯誤:
Settings: Default pipeline workers: 2
NotImplementedError: stat.st_dev unsupported or native support failed to load dev_major at
org/jruby/RubyFileStat.java:205
nix_inode at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:28
inode at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:32
inode at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:106
watch at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:96
_discover_file at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:313
each at org/jruby/RubyArray.java:1613
each at org/jruby/RubyEnumerator.java:274
_discover_file at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:304
watch at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:95
call at org/jruby/RubyProc.java:281
synchronized at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:357
synchronize at org/jruby/ext/thread/Mutex.java:149
synchronized at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:357
watch at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/watch.rb:92
tail at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/filewatch-0.8.1/lib/filewatch/tail_base.rb:73
tail at /home/tomcat/ELK/logstash-2.3.2/vendor/jruby/lib/ruby/1.9/forwardable.rb:201
begin_tailing at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-input-file-2.2.5/lib/logstash/inputs/file.rb:288
each at org/jruby/RubyArray.java:1613
begin_tailing at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-input-file-2.2.5/lib/logstash/inputs/file.rb:288
run at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-input-file-2.2.5/lib/logstash/inputs/file.rb:292
inputworker at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstash/pipeline.rb:342
start_input at /home/tomcat/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstash/pipeline.rb:336
我做了符號鏈接,現在一切正常。
ln -s /usr/lib64/libcrypto.so.1.0.1e / usr / lib64 / crypt
如果使用高山碼頭工人圖像,請解決此問題:
ln -s /lib/libcrypto.so.1.0.0 /lib/crypt
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.