sega-yarkin / graylog-plugin-dnstap

Dnstap logs Graylog input plugin
MIT License
5 stars 3 forks source link

No implementation for java.util.concurrent.Executor annotated with @com.google.inject.name.Named(value=bossPool) was bound. #3

Open R2fn opened 4 years ago

R2fn commented 4 years ago

After installation of dnstup plugin version 0.0.3 graylog3 entered failed state. Moving the jar file out of the plugin directory allows Graylog to successfully startup again. Any thoughts?

Centos7 3.10.0-327.el7.x86_64 Graylog server 3.0.2

in log next message

Feb 2 19:35:08 server-graylog-301 systemd: graylog-server.service holdoff time over, scheduling restart. Feb 2 19:35:08 server-graylog-301 systemd: Started Graylog server. Feb 2 19:35:08 server-graylog-301 systemd: Starting Graylog server... Feb 2 19:35:13 server-graylog-301 graylog-server: Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors: Feb 2 19:35:13 server-graylog-301 graylog-server: 1) No implementation for java.util.concurrent.Executor annotated with @com.google.inject.name.Named(value=bossPool) was bound. Feb 2 19:35:13 server-graylog-301 graylog-server: while locating java.util.concurrent.Executor annotated with @com.google.inject.name.Named(value=bossPool) Feb 2 19:35:13 server-graylog-301 graylog-server: for the 2nd parameter of org.graylog.plugins.dnstap.FstrmTransport.(FstrmTransport.java:40) Feb 2 19:35:13 server-graylog-301 graylog-server: at org.graylog.plugins.dnstap.FstrmTransport$Factory.create(FstrmTransport.java:77) Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.assistedinject.FactoryProvider2.initialize(FactoryProvider2.java:716) Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.assistedinject.FactoryModuleBuilder$1.configure(FactoryModuleBuilder.java:317) (via modules: org.graylog2.shared.bindings.PluginBindings -> org.graylog.plugins.dnstap.DnstapModule -> com.google.inject.assistedinject.FactoryModuleBuilder$1) Feb 2 19:35:13 server-graylog-301 graylog-server: 2) Could not find a suitable constructor in org.graylog2.plugin.inputs.util.ConnectionCounter. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private. Feb 2 19:35:13 server-graylog-301 graylog-server: at org.graylog2.plugin.inputs.util.ConnectionCounter.class(ConnectionCounter.java:31) Feb 2 19:35:13 server-graylog-301 graylog-server: while locating org.graylog2.plugin.inputs.util.ConnectionCounter Feb 2 19:35:13 server-graylog-301 graylog-server: for the 4th parameter of org.graylog.plugins.dnstap.FstrmTransport.(FstrmTransport.java:40) Feb 2 19:35:13 server-graylog-301 graylog-server: at org.graylog.plugins.dnstap.FstrmTransport$Factory.create(FstrmTransport.java:77) Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.assistedinject.FactoryProvider2.initialize(FactoryProvider2.java:716) Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.assistedinject.FactoryModuleBuilder$1.configure(FactoryModuleBuilder.java:317) (via modules: org.graylog2.shared.bindings.PluginBindings -> org.graylog.plugins.dnstap.DnstapModule -> com.google.inject.assistedinject.FactoryModuleBuilder$1) Feb 2 19:35:13 server-graylog-301 graylog-server: 2 errors Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:543) Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:178) Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109) Feb 2 19:35:13 server-graylog-301 graylog-server: at com.google.inject.Guice.createInjector(Guice.java:87) Feb 2 19:35:13 server-graylog-301 graylog-server: at org.graylog2.shared.bindings.GuiceInjectorHolder.createInjector(GuiceInjectorHolder.java:34) Feb 2 19:35:13 server-graylog-301 graylog-server: at org.graylog2.bootstrap.CmdLineTool.setupInjector(CmdLineTool.java:379) Feb 2 19:35:13 server-graylog-301 graylog-server: at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:194) Feb 2 19:35:13 server-graylog-301 graylog-server: at org.graylog2.bootstrap.Main.main(Main.java:50) Feb 2 19:35:13 server-graylog-301 systemd: graylog-server.service: main process exited, code=exited, status=1/FAILURE Feb 2 19:35:13 server-graylog-301 systemd: Unit graylog-server.service entered failed state. Feb 2 19:35:13 server-graylog-301 systemd: graylog-server.service failed.