Error with kibana 4.2.0, Elasticsearch 2.0.0 and Logstash 2.0.0


(Miguel Bessa) #1

Hi,

I installed recent versions of kibana, elasticsearch and logstash, but when I execute logstash configuration file for my logs, gives me this error:

NotImplementedError: stat.st_dev unsupported or native support failed to load
dev_major at org/jruby/RubyFileStat.java:205
inode at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/watch.rb:50
_discover_file at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/watch.rb:155
each at org/jruby/RubyArray.java:1613
_discover_file at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/watch.rb:137
watch at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/watch.rb:38
tail at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/tail.rb:69
run at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-file-2.0.2/lib/logstash/inputs/file.rb:190
each at org/jruby/RubyArray.java:1613
run at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-file-2.0.2/lib/logstash/inputs/file.rb:190
inputworker at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:180
start_input at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:174

Someone can help me?

Thanks for help!


(Magnus B├Ąck) #2

I believe this is the same as github.com/elastic/logstash issues #3033 and #3127, which list a few workarounds.


(Miguel Bessa) #3

Did you have this problem with latest version of logstash?


(Miguel Bessa) #4

This fix the problem I report:

ln -s /lib/x86_64-linux-gnu/libcrypt.so.1 /usr/lib/x86_64-linux-gnu/libcrypt.so

Solution by Jordansissel here: https://github.com/elastic/logstash/issues/3127 .


(Shailen Bellare) #5

i solved this issue by copying an older version of libCrypt.so


(system) #6