linux:/usr/local/workspace/logstash-1.5.0 # bin/logstash -e 'input { stdin { } } output { stdout {} }'
io/console on JRuby shells out to stty for most operations
LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null
See http://jira.codehaus.org/browse/JRUBY-4583
require at org/jruby/RubyKernel.java:1071
(root) at /usr/local/workspace/logstash-1.5.0/vendor/jruby/lib/ruby/shared/ffi/ffi.rb:69
require at org/jruby/RubyKernel.java:1071
(root) at /usr/local/workspace/logstash-1.5.0/vendor/jruby/lib/ruby/shared/ffi.rb:1
require at org/jruby/RubyKernel.java:1071
(root) at /usr/local/workspace/logstash-1.5.0/vendor/jruby/lib/ruby/shared/ffi.rb:1
(root) at /usr/local/workspace/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:1
require at org/jruby/RubyKernel.java:1071
LibC at /usr/local/workspace/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:4
(root) at /usr/local/workspace/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:3
(root) at /usr/local/workspace/logstash-1.5.0/lib/bootstrap/environment.rb:48
io/console on JRuby shells out to stty for most operations
LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null
See http://jira.codehaus.org/browse/JRUBY-4583
require at org/jruby/RubyKernel.java:1071
(root) at /usr/local/workspace/logstash-1.5.0/vendor/jruby/lib/ruby/shared/ffi/ffi.rb:69
require at org/jruby/RubyKernel.java:1071
(root) at /usr/local/workspace/logstash-1.5.0/vendor/jruby/lib/ruby/shared/ffi.rb:1
require at org/jruby/RubyKernel.java:1071
(root) at /usr/local/workspace/logstash-1.5.0/vendor/jruby/lib/ruby/shared/ffi.rb:1
(root) at /usr/local/workspace/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:1
require at org/jruby/RubyKernel.java:1071
LibC at /usr/local/workspace/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:4
(root) at /usr/local/workspace/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/util/prctl.rb:3
(root) at /usr/local/workspace/logstash-1.5.0/lib/bootstrap/environment.rb:48
3 个回复
theowal1015
赞同来自:
stab - freshman
赞同来自:
medcl - 今晚打老虎。
赞同来自:
mkdir /usr/local/jdk/tmp
vi /usr/local/logstash/bin/logstash.lib.sh
JAVA_OPTS=”$JAVA_OPTS -Djava.io.tmpdir=/usr/local/jdk/tmp”