You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading from 5.2.7 to 6.0.2 causes the server to not start at all. This is done using Graylog provided Debian packages.
Jun 01 03:03:40 graylog01 graylog-server[361278]: Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors:
Jun 01 03:03:40 graylog01 graylog-server[361278]: 1) [Guice/MissingConstructor]: No injectable constructor for type SnmpUDPInput$Config.
Jun 01 03:03:40 graylog01 graylog-server[361278]: class SnmpUDPInput$Config does not have a @Inject annotated constructor or a no-arg constructor.
Jun 01 03:03:40 graylog01 graylog-server[361278]: Requested by:
Jun 01 03:03:40 graylog01 graylog-server[361278]: 1 : SnmpUDPInput$Config.class(SnmpUDPInput.java:58)
Jun 01 03:03:40 graylog01 graylog-server[361278]: while locating SnmpUDPInput$Config
Jun 01 03:03:40 graylog01 graylog-server[361278]: at SnmpUDPInput$Factory.getConfig(SnmpUDPInput.java:36)
Jun 01 03:03:40 graylog01 graylog-server[361278]: Learn more:
Jun 01 03:03:40 graylog01 graylog-server[361278]: https://github.com/google/guice/wiki/MISSING_CONSTRUCTOR
Jun 01 03:03:40 graylog01 graylog-server[361278]: 2) [Guice/MissingImplementation]: No implementation for SnmpUDPInput$Factory was bound.
Jun 01 03:03:40 graylog01 graylog-server[361278]: Requested by:
Jun 01 03:03:40 graylog01 graylog-server[361278]: 1 : Graylog2Module.installInput(Graylog2Module.java:235)
Jun 01 03:03:40 graylog01 graylog-server[361278]: \_ installed by: PluginBindings -> SnmpPluginModule
Jun 01 03:03:40 graylog01 graylog-server[361278]: Learn more:
Jun 01 03:03:40 graylog01 graylog-server[361278]: https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION
Jun 01 03:03:40 graylog01 graylog-server[361278]: 2 errors
Jun 01 03:03:40 graylog01 graylog-server[361278]: ======================
Jun 01 03:03:40 graylog01 graylog-server[361278]: Full classname legend:
Jun 01 03:03:40 graylog01 graylog-server[361278]: ======================
Jun 01 03:03:40 graylog01 graylog-server[361278]: Graylog2Module: "org.graylog2.plugin.inject.Graylog2Module"
Jun 01 03:03:40 graylog01 graylog-server[361278]: PluginBindings: "org.graylog2.shared.bindings.PluginBindings"
Jun 01 03:03:40 graylog01 graylog-server[361278]: SnmpPluginModule: "org.graylog.snmp.SnmpPluginModule"
Jun 01 03:03:40 graylog01 graylog-server[361278]: SnmpUDPInput$Config: "org.graylog.snmp.input.SnmpUDPInput$Config"
Jun 01 03:03:40 graylog01 graylog-server[361278]: SnmpUDPInput$Factory: "org.graylog.snmp.input.SnmpUDPInput$Factory"
Jun 01 03:03:40 graylog01 graylog-server[361278]: ========================
Jun 01 03:03:40 graylog01 graylog-server[361278]: End of classname legend:
Jun 01 03:03:40 graylog01 graylog-server[361278]: ========================
Jun 01 03:03:40 graylog01 graylog-server[361278]: at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:589)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:163)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at com.google.inject.Guice.createInjector(Guice.java:87)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at org.graylog2.shared.bindings.GuiceInjectorHolder.createInjector(GuiceInjectorHolder.java:34)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at org.graylog2.bootstrap.CmdLineTool.setupInjector(CmdLineTool.java:530)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at org.graylog2.bootstrap.CmdLineTool.doRun(CmdLineTool.java:317)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:267)
Jun 01 03:03:40 graylog01 graylog-server[361278]: at org.graylog2.bootstrap.Main.main(Main.java:55)
Jun 01 03:03:40 graylog01 systemd[1]: graylog-server.service: Main process exited, code=exited, status=1/FAILURE
Jun 01 03:03:40 graylog01 systemd[1]: graylog-server.service: Failed with result 'exit-code'.
Your Environment
Graylog Version: 6.0.x
Java Version: openjdk 17.0.11 2024-04-16
The text was updated successfully, but these errors were encountered:
Can you please try if the server starts when you remove the SNMP plugin from the plugin directory? The plugin is probably not actively maintained and does not support the current version of Graylog. See also this thread in the community forum.
Upgrading from 5.2.7 to 6.0.2 causes the server to not start at all. This is done using Graylog provided Debian packages.
Your Environment
The text was updated successfully, but these errors were encountered: