환경을 구축하다
1763 단어 오픈 LOG
logstash.net에서learn 작업 진행
여기서 File의 input에서 오류가 발생했습니다.
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (NotImplementedError) stat.st_dev unsupported or native support failed to load
at org.jruby.RubyFileStat.dev_major(org/jruby/RubyFileStat.java:394)
at RUBY._discover_file(jar:file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/watch.rb:140)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612)
at RUBY._discover_file(jar:file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/watch.rb:122)
at RUBY.watch(jar:file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/watch.rb:34)
at RUBY.tail(jar:file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/tail.rb:58)
at RUBY.run(file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/logstash/inputs/file.rb:124)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612)
at RUBY.run(file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/logstash/inputs/file.rb:124)
at RUBY.run_input(file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/logstash/agent.rb:714)
at RUBY.start_input(file:/home/phab/logstash/logstash-1.1.9-monolithic.jar!/logstash/agent.rb:367)
해결하다
문제가 생긴 기계
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
기계로 바꾸다
Description: CentOS release 5.4 (Final)
OK