I have problem with my logstash. When I start the logstash service, I have this log:
2020-09-04 16:21:19,830 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:229)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:134)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617)
at org.apache.logging.log4j.core.LoggerContext.setConfigLocation(LoggerContext.java:603)
at org.logstash.log.LoggerExt.reconfigure(LoggerExt.java:158)
at org.logstash.log.LoggerExt$INVOKER$s$1$0$reconfigure.call(LoggerExt$INVOKER$s$1$0$reconfigure.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:739)
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.runner.RUBY$method$execute$0(/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/runner.rb:257)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.runner.RUBY$method$execute$0$VARARGS(/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/runner.rb)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.vendor.bundle.jruby.$2_dot_3_dot_0.gems.clamp_minus_0_dot_6_dot_5.lib.clamp.command.RUBY$method$run$0(/home/bcamaster/elg/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.vendor.bundle.jruby.$2_dot_3_dot_0.gems.clamp_minus_0_dot_6_dot_5.lib.clamp.command.RUBY$method$run$0$VARARGS(/home/bcamaster/elg/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)
at org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:983)
at org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:974)
at org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.runner.RUBY$method$run$0(/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/runner.rb:237)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.logstash_minus_core.lib.logstash.runner.RUBY$method$run$0$VARARGS(/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/runner.rb)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.vendor.bundle.jruby.$2_dot_3_dot_0.gems.clamp_minus_0_dot_6_dot_5.lib.clamp.command.RUBY$method$run$0(/home/bcamaster/elg/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)
at home.bcamaster.elg.logstash_minus_6_dot_5_dot_4.lib.bootstrap.environment.RUBY$script(/home/bcamaster/elg/logstash-6.5.4/lib/bootstrap/environment.rb:73)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.jruby.ir.Compiler$1.load(Compiler.java:95)
at org.jruby.Ruby.runScript(Ruby.java:828)
at org.jruby.Ruby.runNormally(Ruby.java:747)
at org.jruby.Ruby.runNormally(Ruby.java:765)
at org.jruby.Ruby.runFromMain(Ruby.java:578)
at org.logstash.Logstash.run(Logstash.java:102)
at org.logstash.Logstash.main(Logstash.java:45)
2020-09-04 16:21:19,832 main ERROR Null object returned for RollingFile in Appenders.
2020-09-04 16:21:19,832 main ERROR Null object returned for RollingFile in Appenders.
2020-09-04 16:21:19,832 main ERROR Null object returned for RollingFile in Appenders.
2020-09-04 16:21:19,833 main ERROR Null object returned for RollingFile in Appenders.
2020-09-04 16:21:19,833 main ERROR Unable to locate appender "plain_rolling" for logger config "root"
2020-09-04 16:21:19,833 main ERROR Unable to locate appender "plain_rolling_slowlog" for logger config "slowlog"
[2020-09-04T16:21:19,905][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Path "/home/bcamaster/elg/logstash-6.5.4/data/queue" must be a writable directory. It is not writable.>, :backtrace=>["/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/settings.rb:447:in validate'", "/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/settings.rb:229:in
validate_value'", "/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/settings.rb:140:in block in validate_all'", "org/jruby/RubyHash.java:1343:in
each'", "/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/settings.rb:139:in validate_all'", "/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/runner.rb:278:in
execute'", "/home/bcamaster/elg/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "/home/bcamaster/elg/logstash-6.5.4/logstash-core/lib/logstash/runner.rb:237:in
run'", "/home/bcamaster/elg/logstash-6.5.4/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "/home/bcamaster/elg/logstash-6.5.4/lib/bootstrap/environment.rb:73:in
'"]}
[2020-09-04T16:21:19,918][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
anyone can help me?
Thank you