Log stash 5.5.0 and 5.5.1 Unable to start in windows


(Prabushankar79) #1

Now again Published Logstash core is not working . I am a new bee to Elastic, when i am trying to start Logstash in my windows machine, I am getting the following error . I have referred few older post and referred the bug#6373, #6374 and #6377, I tried the fixes , but doesn;t seem to work. I have tried this with 5.5.0 and 5.5.1.. both versions has issues.

My JAVA_HOME is C:/Program Files/java/JDK 1.8.131
My Gem spec contains the following line
gem.files = Dir.glob(["logstash-core.gemspec", "gemspec_jars.rb", "lib//*.rb", "spec//.rb", "locales/", "lib/logstash/api/init.ru", "lib/logstash-core/logstash-core.jar", "lib/**/*.jar"])
Error Message:
C:\elastic\tst\logstash-5.5.1\bin>logstash -e 'input { stdin { } } output { stdo
ut {} }'
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add lo
g4j-core to the classpath. Using SimpleLogger to log to the console...
NameError: missing class name (`org.apache.logging.log4j.core.config.Configurato
r')
get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java
:54
method_missing at file:/C:/elastic/tst/logstash-5.5.1/vend
or/jruby/lib/jruby.jar!/jruby/java/java_package_module_template.rb:14
Logging at C:/elastic/tst/logstash-5.5.1/logstash-c
ore/lib/logstash/logging/logger.rb:8
LogStash at C:/elastic/tst/logstash-5.5.1/logstash-c
ore/lib/logstash/logging/logger.rb:5
(root) at C:/elastic/tst/logstash-5.5.1/logstash-c
ore/lib/logstash/logging/logger.rb:4
require at org/jruby/RubyKernel.java:1040
(root) at C:/elastic/tst/logstash-5.5.1/logstash-c
ore/lib/logstash/util/loggable.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at C:/elastic/tst/logstash-5.5.1/logstash-c
ore/lib/logstash/util/loggable.rb:2
require at org/jruby/RubyKernel.java:1040
(root) at C:/elastic/tst/logstash-5.5.1/logstash-c
ore/lib/logstash/settings.rb:1
require at org/jruby/RubyKernel.java:1040
(root) at C:/elastic/tst/logstash-5.5.1/logstash-c
ore/lib/logstash/settings.rb:2
require at org/jruby/RubyKernel.java:1040
(root) at C:\elastic\tst\logstash-5.5.1\lib\bootst
rap\environment.rb:70


(Prabushankar79) #2

The above error seems to be appear in a particular machine.. The error is not going away even if you removed the directory completely and then resinstall still has the same issue irerespetive of logstash version


(Prabushankar79) #3

No help or suggestions yet from this community.. As it looks like too many requests and too few people only responding.. Any help in this regards is highly appreciated..


(system) #4

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