Keystore issues on centos 6.7


I have the task to prepare installation of logstash on old servers running centos 6.7 (up to date patchlevel).

When I want to create the keystore I get following error:

bash-4.1$ ./logstash-keystore --path.settings /etc/logstash/config_sets/all/0 create
NameError: uninitialized constant Gem::Deprecate
    const_missing at org/jruby/
  singleton class at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems.rb:377
     <module:Gem> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems.rb:376
           <main> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems.rb:117
          require at org/jruby/
           <main> at uri:classloader:/jruby/kernel/gem_prelude.rb:1
             load at org/jruby/
           <main> at uri:classloader:/jruby/kernel/gem_prelude.rb:3

On centos 6.10 or 7.x it runs fine. But I have the task to get it run on that given machine.

Any Ideas?

Thanks a lot, Andreas


looks like it had been some java issue. Now using adopt-openjdk-11 and it works on the old centos.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.