Graylog 5.0.2 will not start cleanly... many Java errors

Description

`I have been trying to setup and use Graylog in a test environment for a couple of weeks now. I have gotten mongoDB and OpenSearch 2 up and running, but every time I try to start Graylog-server, the service “bounces” with more than a few Java errors appearing in the server.log file.

I installed everything based on the instructions at: CentOS installation

When I kept running into this problem, and not being able to find my errors anywhere on the Internet, I did a yum upgrade. That left me with the following versions installed…
mongodb: 6.0.3
OpenSearch: 2.4.1
Graylog: 5.0.2`

Description of steps you’ve taken to attempt to solve the issue

I have validated permissions on directories and individual files to ensure access wasn't an issue. I have also, as previously mentioned, updated the system in case my initial install had a bad file/package. I have NOT tried to direct Graylog to the system JVM vs the included Java packages.

Environmental information

Alma Linux 9.1
OpenJDK 17.0.5
mongodb: 6.0.3
OpenSearch: 2.4.1
Graylog: 5.0.2

Service logs, configuration, and environment variables

2023-01-18T16:54:19.867-05:00 DEBUG [activation] MimetypesFileTypeMap: successfully loaded mime types file: /META-INF/mimetypes.default
2023-01-18T16:54:19.935-05:00 DEBUG [logging] Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2023-01-18T16:54:19.936-05:00 INFO  [Version] HV000001: Hibernate Validator null
2023-01-18T16:54:19.941-05:00 DEBUG [TraversableResolvers] Found javax.persistence.Persistence on classpath, but no method 'getPersistenceUtil'. Assuming JPA 1 environment. All properties will per default be traversable.
2023-01-18T16:54:19.945-05:00 DEBUG [ValidationXmlParser] Trying to load META-INF/validation.xml for XML based Validator configuration.
2023-01-18T16:54:19.946-05:00 DEBUG [ResourceLoaderHelper] Trying to load META-INF/validation.xml via TCCL
2023-01-18T16:54:19.946-05:00 DEBUG [ResourceLoaderHelper] Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2023-01-18T16:54:19.946-05:00 DEBUG [ValidationXmlParser] No META-INF/validation.xml found. Using annotation based configuration only.
2023-01-18T16:54:19.971-05:00 DEBUG [ResourceBundleMessageInterpolator] Loaded expression factory via original TCCL
2023-01-18T16:54:20.112-05:00 DEBUG [ValidatorFactoryConfigurationHelper] HV000252: Using org.hibernate.validator.internal.engine.DefaultPropertyNodeNameProvider as property node name provider.
2023-01-18T16:54:20.118-05:00 DEBUG [ValidatorFactoryConfigurationHelper] HV000234: Using org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator as ValidatorFactory-scoped message interpolator.
2023-01-18T16:54:20.119-05:00 DEBUG [ValidatorFactoryConfigurationHelper] HV000234: Using org.hibernate.validator.internal.engine.resolver.TraverseAllTraversableResolver as ValidatorFactory-scoped traversable resolver.
2023-01-18T16:54:20.119-05:00 DEBUG [ValidatorFactoryConfigurationHelper] HV000234: Using org.hibernate.validator.internal.util.ExecutableParameterNameProvider as ValidatorFactory-scoped parameter name provider.
2023-01-18T16:54:20.119-05:00 DEBUG [ValidatorFactoryConfigurationHelper] HV000234: Using org.hibernate.validator.internal.engine.DefaultClockProvider as ValidatorFactory-scoped clock provider.
2023-01-18T16:54:20.119-05:00 DEBUG [ValidatorFactoryConfigurationHelper] HV000234: Using org.hibernate.validator.internal.engine.scripting.DefaultScriptEvaluatorFactory as ValidatorFactory-scoped script evaluator factory.
2023-01-18T16:54:20.161-05:00 DEBUG [FileUtil] Reading file /etc/system-release
2023-01-18T16:54:20.161-05:00 DEBUG [LinuxOperatingSystem] /etc/system-release: AlmaLinux release 9.1 (Lime Lynx)
2023-01-18T16:54:20.162-05:00 DEBUG [FileUtil] Reading file /proc/version
2023-01-18T16:54:20.162-05:00 DEBUG [OshiService] Successfully loaded OSHI
2023-01-18T16:54:20.814-05:00 DEBUG [MessageOutputBindings] Using default message output class: org.graylog2.outputs.BlockingBatchedESOutput
2023-01-18T16:54:21.375-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_EVENTS_INDEX_PREFIX
2023-01-18T16:54:21.375-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_SYSTEM_EVENTS_INDEX_PREFIX
2023-01-18T16:54:21.375-05:00 DEBUG [NamedConfigParametersModule] Skipping field MAX_INDEX_RETENTION_PERIOD
2023-01-18T16:54:21.378-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_MAXIMUM_AGE_FOR_SEARCHES
2023-01-18T16:54:21.378-05:00 DEBUG [NamedConfigParametersModule] Skipping field PREFIX
2023-01-18T16:54:21.378-05:00 DEBUG [NamedConfigParametersModule] Skipping field MAX_SEARCH_AGE
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field PREFIX
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field ENABLED
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field BIND_ADDRESS
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field MAPPING_FILE_PATH_CORE
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field MAPPING_FILE_PATH_CUSTOM
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field MAPPING_FILE_REFRESH_INTERVAL
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_BIND_ADDRESS_HOST
2023-01-18T16:54:21.380-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_BIND_ADDRESS_PORT
2023-01-18T16:54:21.381-05:00 DEBUG [NamedConfigParametersModule] Skipping field PREFIX
2023-01-18T16:54:21.381-05:00 DEBUG [NamedConfigParametersModule] Skipping field S3_DOWNLOAD_LOCATION
2023-01-18T16:54:21.381-05:00 DEBUG [NamedConfigParametersModule] Skipping field ALLOWED_AUXILIARY_PATHS
2023-01-18T16:54:21.381-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_BIN_DIR
2023-01-18T16:54:21.382-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_DATA_DIR
2023-01-18T16:54:21.382-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_PLUGIN_DIR
2023-01-18T16:54:21.385-05:00 DEBUG [NamedConfigParametersModule] Skipping field ALLOWED_AUXILIARY_PATHS
2023-01-18T16:54:21.385-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_BIN_DIR
2023-01-18T16:54:21.385-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_DATA_DIR
2023-01-18T16:54:21.385-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_PLUGIN_DIR
2023-01-18T16:54:21.386-05:00 DEBUG [NamedConfigParametersModule] Skipping field LOG
2023-01-18T16:54:21.386-05:00 DEBUG [NamedConfigParametersModule] Skipping field GRAYLOG_DEFAULT_PORT
2023-01-18T16:54:21.386-05:00 DEBUG [NamedConfigParametersModule] Skipping field OVERRIDE_HEADER
2023-01-18T16:54:21.386-05:00 DEBUG [NamedConfigParametersModule] Skipping field PATH_WEB
2023-01-18T16:54:21.386-05:00 DEBUG [NamedConfigParametersModule] Skipping field PATH_API
2023-01-18T16:54:21.395-05:00 DEBUG [NamedConfigParametersModule] Skipping field LOG
2023-01-18T16:54:21.397-05:00 DEBUG [NamedConfigParametersModule] Skipping field ALLOWED_AUXILIARY_PATHS
2023-01-18T16:54:21.397-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_BIN_DIR
2023-01-18T16:54:21.397-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_DATA_DIR
2023-01-18T16:54:21.398-05:00 DEBUG [NamedConfigParametersModule] Skipping field DEFAULT_PLUGIN_DIR
2023-01-18T16:54:21.398-05:00 DEBUG [NamedConfigParametersModule] Skipping field LOOP_SLEEP_DURATION
2023-01-18T16:54:21.398-05:00 DEBUG [NamedConfigParametersModule] Skipping field LOCK_EXPIRATION_DURATION
2023-01-18T16:54:21.400-05:00 DEBUG [NamedConfigParametersModule] Skipping field PREFIX
2023-01-18T16:54:21.400-05:00 DEBUG [NamedConfigParametersModule] Skipping field PERSIST_INTERVAL
2023-01-18T16:54:21.400-05:00 DEBUG [NamedConfigParametersModule] Skipping field UPDATE_THRESHOLD
2023-01-18T16:54:21.400-05:00 DEBUG [NamedConfigParametersModule] Skipping field JOURNAL_WRITE_RATE_THRESHOLD
2023-01-18T16:54:21.401-05:00 DEBUG [NamedConfigParametersModule] Skipping field LOG
2023-01-18T16:54:21.401-05:00 DEBUG [NamedConfigParametersModule] Skipping field PREFIX
2023-01-18T16:54:21.430-05:00 DEBUG [ContinuousStopwatch] Module execution: 1676ms
2023-01-18T16:54:21.432-05:00 DEBUG [ContinuousStopwatch] Interceptors creation: 1ms
2023-01-18T16:54:21.432-05:00 DEBUG [ContinuousStopwatch] TypeListeners & ProvisionListener creation: 0ms
2023-01-18T16:54:21.433-05:00 DEBUG [ContinuousStopwatch] Scopes creation: 1ms
2023-01-18T16:54:21.434-05:00 DEBUG [ContinuousStopwatch] Converters creation: 0ms
2023-01-18T16:54:21.517-05:00 DEBUG [ContinuousStopwatch] Binding creation: 82ms
2023-01-18T16:54:21.517-05:00 DEBUG [ContinuousStopwatch] Module annotated method scanners creation: 0ms
2023-01-18T16:54:21.517-05:00 DEBUG [ContinuousStopwatch] Private environment creation: 0ms
2023-01-18T16:54:21.517-05:00 DEBUG [ContinuousStopwatch] Injector construction: 0ms
2023-01-18T16:54:21.712-05:00 DEBUG [ContinuousStopwatch] Binding initialization: 194ms
2023-01-18T16:54:21.715-05:00 DEBUG [ContinuousStopwatch] Binding indexing: 2ms
2023-01-18T16:54:21.715-05:00 DEBUG [ContinuousStopwatch] Collecting injection requests: 0ms
2023-01-18T16:54:22.524-05:00 DEBUG [ContinuousStopwatch] Binding validation: 809ms
2023-01-18T16:54:22.531-05:00 DEBUG [ContinuousStopwatch] Static validation: 6ms
2023-01-18T16:54:22.533-05:00 DEBUG [ContinuousStopwatch] Instance member validation: 2ms
2023-01-18T16:54:22.534-05:00 DEBUG [ContinuousStopwatch] Provider verification: 0ms
2023-01-18T16:54:22.576-05:00 DEBUG [ContinuousStopwatch] Delayed Binding initialization: 42ms
2023-01-18T16:54:22.585-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.events.search.MoreSearchAdapter>> was bound.
2023-01-18T16:54:22.585-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter>> was bound.
2023-01-18T16:54:22.585-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.search.engine.QueryBackend<? extends org.graylog.plugins.views.search.engine.GeneratedQueryContext>>> was bound.
2023-01-18T16:54:22.586-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.search.engine.QuerySuggestionsService>> was bound.
2023-01-18T16:54:22.586-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog.plugins.views.search.export.ExportBackend>> was bound.
2023-01-18T16:54:22.586-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.IndexToolsAdapter>> was bound.
2023-01-18T16:54:22.586-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.cluster.ClusterAdapter>> was bound.
2023-01-18T16:54:22.586-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.cluster.NodeAdapter>> was bound.
2023-01-18T16:54:22.586-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.counts.CountsAdapter>> was bound.
2023-01-18T16:54:22.587-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.fieldtypes.IndexFieldTypePollerAdapter>> was bound.
2023-01-18T16:54:22.587-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.fieldtypes.streamfiltered.esadapters.StreamsForFieldRetriever>> was bound.
2023-01-18T16:54:22.587-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.indices.IndicesAdapter>> was bound.
2023-01-18T16:54:22.587-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.messages.MessagesAdapter>> was bound.
2023-01-18T16:54:22.587-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.indexer.searches.SearchesAdapter>> was bound.
2023-01-18T16:54:22.587-05:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.storage.SearchVersion, javax.inject.Provider<org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState>> was bound.
2023-01-18T16:54:22.588-05:00 ERROR [CmdLineTool] Startup error:
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<MoreSearchAdapter>> was bound.

Did you mean?
    MoreSearchAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:57)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : MoreSearchAdapterProvider.<init>(MoreSearchAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:57)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

2) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter>> was bound.

Did you mean?
    V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:65)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : V20200730000000_AddGl2MessageIdFieldAliasForEventsElasticsearchAdapterProvider.<init>(V20200730000000_AddGl2MessageIdFieldAliasForEventsElasticsearchAdapterProvider.java:34)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:65)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

3) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<QueryBackend<? extends GeneratedQueryContext>>> was bound.

Did you mean?
    QueryBackend<? extends GeneratedQueryContext> bound at VersionAwareStorageModule.bindQueryBackend(VersionAwareStorageModule.java:72)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : ElasticsearchBackendProvider.<init>(ElasticsearchBackendProvider.java:33)
      \_ for 2nd parameter
     at VersionAwareStorageModule.bindQueryBackend(VersionAwareStorageModule.java:72)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

4) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<QuerySuggestionsService>> was bound.

Did you mean?
    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    QuerySuggestionsService bound at ViewsBindings.configure(ViewsBindings.java:245)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : QuerySuggestionsProvider.<init>(QuerySuggestionsProvider.java:31)
      \_ for 2nd parameter
     at ViewsBindings.configure(ViewsBindings.java:245)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

5) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<ExportBackend>> was bound.

Did you mean?
    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    ExportBackend bound at ViewsBindings.registerExportBackendProvider(ViewsBindings.java:255)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : ExportBackendProvider.<init>(ExportBackendProvider.java:31)
      \_ for 2nd parameter
     at ViewsBindings.registerExportBackendProvider(ViewsBindings.java:255)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

6) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<IndexToolsAdapter>> was bound.

Did you mean?
    IndexToolsAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:62)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : IndexToolsAdapterProvider.<init>(IndexToolsAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:62)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

7) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<ClusterAdapter>> was bound.

Requested by:
1  : ClusterAdapterProvider.<init>(ClusterAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:59)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

8) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<NodeAdapter>> was bound.

Requested by:
1  : NodeAdapterProvider.<init>(NodeAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:60)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

9) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<CountsAdapter>> was bound.

Did you mean?
    CountsAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:54)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : CountsAdapterProvider.<init>(CountsAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:54)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

10) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<IndexFieldTypePollerAdapter>> was bound.

Did you mean?
    IndexFieldTypePollerAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:61)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : IndexFieldTypePollerAdapterProvider.<init>(IndexFieldTypePollerAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:61)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

11) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<StreamsForFieldRetriever>> was bound.

Did you mean?
    StreamsForFieldRetriever bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:53)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : StreamsForFieldRetrieverProvider.<init>(StreamsForFieldRetrieverProvider.java:33)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:53)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

12) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<IndicesAdapter>> was bound.

Did you mean?
    IndicesAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:55)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : IndicesAdapterProvider.<init>(IndicesAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:55)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

13) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<MessagesAdapter>> was bound.

Requested by:
1  : MessagesAdapterProvider.<init>(MessagesAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:58)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

14) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<SearchesAdapter>> was bound.

Did you mean?
    SearchesAdapter bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:56)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : SearchesAdapterProvider.<init>(SearchesAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:56)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

15) [Guice/MissingImplementation]: No implementation for Map<SearchVersion, Provider<V20170607164210_MigrateReopenedIndicesToAliases$ClusterState>> was bound.

Did you mean?
    V20170607164210_MigrateReopenedIndicesToAliases$ClusterState bound at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:63)

    SearchVersion annotated with interface DetectedSearchVersion bound at ElasticsearchModule.configure(ElasticsearchModule.java:30)

    SearchVersion annotated with @Named("elasticsearch_version") bound at NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

Requested by:
1  : V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider.<init>(V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider.java:31)
      \_ for 2nd parameter
     at VersionAwareStorageModule.configure(VersionAwareStorageModule.java:63)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

15 errors

======================
Full classname legend:
======================
ClusterAdapter:                                                                 "org.graylog2.indexer.cluster.ClusterAdapter"
ClusterAdapterProvider:                                                         "org.graylog2.storage.providers.ClusterAdapterProvider"
CountsAdapter:                                                                  "org.graylog2.indexer.counts.CountsAdapter"
CountsAdapterProvider:                                                          "org.graylog2.storage.providers.CountsAdapterProvider"
DetectedSearchVersion:                                                          "org.graylog2.storage.DetectedSearchVersion"
ElasticsearchBackendProvider:                                                   "org.graylog2.storage.providers.ElasticsearchBackendProvider"
ElasticsearchModule:                                                            "org.graylog2.bindings.ElasticsearchModule"
ExportBackend:                                                                  "org.graylog.plugins.views.search.export.ExportBackend"
ExportBackendProvider:                                                          "org.graylog.plugins.views.providers.ExportBackendProvider"
GeneratedQueryContext:                                                          "org.graylog.plugins.views.search.engine.GeneratedQueryContext"
IndexFieldTypePollerAdapter:                                                    "org.graylog2.indexer.fieldtypes.IndexFieldTypePollerAdapter"
IndexFieldTypePollerAdapterProvider:                                            "org.graylog2.storage.providers.IndexFieldTypePollerAdapterProvider"
IndexToolsAdapter:                                                              "org.graylog2.indexer.IndexToolsAdapter"
IndexToolsAdapterProvider:                                                      "org.graylog2.storage.providers.IndexToolsAdapterProvider"
IndicesAdapter:                                                                 "org.graylog2.indexer.indices.IndicesAdapter"
IndicesAdapterProvider:                                                         "org.graylog2.storage.providers.IndicesAdapterProvider"
MessagesAdapter:                                                                "org.graylog2.indexer.messages.MessagesAdapter"
MessagesAdapterProvider:                                                        "org.graylog2.storage.providers.MessagesAdapterProvider"
MoreSearchAdapter:                                                              "org.graylog.events.search.MoreSearchAdapter"
MoreSearchAdapterProvider:                                                      "org.graylog2.storage.providers.MoreSearchAdapterProvider"
Named:                                                                          "com.google.inject.name.Named"
NamedConfigParametersModule:                                                    "com.github.joschi.jadconfig.guice.NamedConfigParametersModule"
NodeAdapter:                                                                    "org.graylog2.indexer.cluster.NodeAdapter"
NodeAdapterProvider:                                                            "org.graylog2.storage.providers.NodeAdapterProvider"
Provider:                                                                       "javax.inject.Provider"
QueryBackend:                                                                   "org.graylog.plugins.views.search.engine.QueryBackend"
QuerySuggestionsProvider:                                                       "org.graylog.plugins.views.providers.QuerySuggestionsProvider"
QuerySuggestionsService:                                                        "org.graylog.plugins.views.search.engine.QuerySuggestionsService"
SearchVersion:                                                                  "org.graylog2.storage.SearchVersion"
SearchesAdapter:                                                                "org.graylog2.indexer.searches.SearchesAdapter"
SearchesAdapterProvider:                                                        "org.graylog2.storage.providers.SearchesAdapterProvider"
StreamsForFieldRetriever:                                                       "org.graylog2.indexer.fieldtypes.streamfiltered.esadapters.StreamsForFieldRetriever"
StreamsForFieldRetrieverProvider:                                               "org.graylog2.storage.providers.StreamsForFieldRetrieverProvider"
V20170607164210_MigrateReopenedIndicesToAliases$ClusterState:                   "org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState"
V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider:     "org.graylog2.storage.providers.V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider"
V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter:        "org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter"
V20200730000000_AddGl2MessageIdFieldAliasForEventsElasticsearchAdapterProvider: "org.graylog2.storage.providers.V20200730000000_AddGl2MessageIdFieldAliasForEventsElasticsearchAdapterProvider"
VersionAwareStorageModule:                                                      "org.graylog2.storage.VersionAwareStorageModule"
ViewsBindings:                                                                  "org.graylog.plugins.views.ViewsBindings"
========================
End of classname legend:
========================

	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:568) ~[graylog.jar:?]
	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:163) ~[graylog.jar:?]
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) ~[graylog.jar:?]
	at com.google.inject.Guice.createInjector(Guice.java:87) ~[graylog.jar:?]
	at org.graylog2.shared.bindings.GuiceInjectorHolder.createInjector(GuiceInjectorHolder.java:34) ~[graylog.jar:?]
	at org.graylog2.bootstrap.CmdLineTool.setupInjector(CmdLineTool.java:502) ~[graylog.jar:?]
	at org.graylog2.bootstrap.CmdLineTool.doRun(CmdLineTool.java:306) ~[graylog.jar:?]
	at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:260) [graylog.jar:?]
	at org.graylog2.bootstrap.Main.main(Main.java:45) [graylog.jar:?]

I have found the the “missing” implementations within the Graylog plugins, but I don’t feel that I should have to rewrite/modify java classes within the jars to get this to work.

Any assistance would be greatly appreciated!

Hello && Welcome @sargehendricks

Sorry to hear about your install.

Couple question:

  • Is it posible to show you configuration file/s (i.e., Graylog & Opensearch) leaving out your personal information?
  • Whats the status on Mongo, Opensearch and Graylog?
  • What JAVA version did you use?

The code related to MoreSearchAdapter has not changed from 4.x, so that guice error looks like the symptom of some other problem.

Wrong java version would be my first guess.

Thank you for the replies, folks! Since both of you mentioned Java, do you think I should point Graylog at my OpenJDK 17 installation vs the embedded JVM included with Graylog 5?

EDIT: After doing some additional digging, I don’t see anything currently installed regarding guice. I do see a noarch package available for google-guice. Is that also a requirement for Graylog? I didn’t see that in the installation instructions.

Thanks again!

GUICE not being installed WAS the issue. I installed it, ensured OpenJDK 17 was still the used version (jdk 11 headless was installed as a guice dependency), and rebooted the box. Graylog is now running!! Onward and upward, right?

Thank you for the assistance.

1 Like

@sargehendricks

Glad the issue is fix, If you could make this post as resolve for future searchs that would be great :+1:

I must need to get my eyes checked… I don’t see anywhere to mark the topic as resolved. Can you point me to where that is done?

Yeah thats wierd, I notice that alos, I think were both blind LOL

EDIT: I think it might be from the catagory this post is in.

Hey.

I fixed it for ya, click on the three dot’s botton right of a post. When it opens click on Solution should be good, and thx you.

image