Exception in thread "main" org.jruby.exceptions.RaiseException

Hi All,

I am trying to logstash-1.1.10 using ./logstashctrl start command.

I am getting the below error:

Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) Could not load FFI Provider: (NotImplementedError) FFI not available: null
See http://jira.codehaus.org/browse/JRUBY-4583
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.require(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at RUBY.require(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/ffi/ffi.rb:69)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
at RUBY.require(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at RUBY.require(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/JRUBY-6970.rb:13)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/ffi.rb:1)
at RUBY.(root)(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:1)
at RUBY.require(jar:file:/chroot/logstash/bin/logstash-1.1.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1027)
at RUBY.require(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/JRUBY-6970.rb:13)
at RUBY.(root)(file:/chroot/logstash/bin/logstash-1.1.10.jar!/logstash/util.rb:2)
at logstash.runner.main(logstash/runner.rb:53)
at logstash.runner.(root)(logstash/runner.rb:224)

We are using LINUX OS 64 bit.

I have tried following command that i got from one of the post
java -Djruby.native.verbose=true -Djava.io.tmpdir=jruby-temp-dir -jar jruby-complete.jar -rffi -e :ok

but still i am unable to solve this problem.

Please help!

Thanks in Advance! :slightly_smiling:

Regards,
Shrawan

Logstash 1.1.10? That's almost three years old. I strongly suggest that you upgrade to something less ancient.