redhat6.5 启动:LoadError: no such file to load -- bundler
require at org/jruby/RubyKernel.java:1040
require at /usr/local/logstash-5.4.0/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54
setup! at /usr/local/logstash-5.4.0/lib/bootstrap/bundler.rb:54
(root) at /usr/local/logstash-5.4.0/lib/bootstrap/environment.rb:67
redhat5.5启动:
[root@bxhxbj01 logstash-5.4.0]# cat nohup.out
Exception in thread "main" java.lang.NoClassDefFoundError: org.jruby.Main
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: org.jruby.Main not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
require at org/jruby/RubyKernel.java:1040
require at /usr/local/logstash-5.4.0/vendor/jruby/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54
setup! at /usr/local/logstash-5.4.0/lib/bootstrap/bundler.rb:54
(root) at /usr/local/logstash-5.4.0/lib/bootstrap/environment.rb:67
redhat5.5启动:
[root@bxhxbj01 logstash-5.4.0]# cat nohup.out
Exception in thread "main" java.lang.NoClassDefFoundError: org.jruby.Main
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: org.jruby.Main not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
1 个回复
ghdong
赞同来自: