Errors with new Graylog installation

1. Describe your incident:

Unable to get new Graylog installation functional. I Get 3 errors shown in following screenshot.

I used the following guide for the installation:

2. Describe your environment:

  • OS Information:

Debian GNU/Linux 12 (bookworm)
MongoDB: 7.0.15
Openjdk-17-jdk: 17.0.13+11-2
Opensearch: 7.10.2
Java: 17.10.13

  • Package Version:

Graylog-datanode: 6.1.3-1
Graylog-server: 6.1.3-1

  • Service logs, configurations, and environment variables:

Selection from var/log/graylog-server/server.log

1) [Guice/ErrorInjectingConstructor]: IllegalArgumentException: Illegal base64 character 2d
  at CustomCAX509TrustManager.<init>(CustomCAX509TrustManager.java:42)
  while locating CustomCAX509TrustManager
  at ServerPreflightChecksModule.configure(ServerPreflightChecksModule.java:44)
  while locating X509TrustManager

cat /etc/graylog/server/server.conf | egrep -v “^\s*(#|$)”

node_id_file = /etc/graylog/server/node-id
password_secret = XXXXXXXXX
root_password_sha2 = XXXXXXXXX
bin_dir = /usr/share/graylog-server/bin
data_dir = /var/lib/graylog-server
plugin_dir = /usr/share/graylog-server/plugin
http_bind_address = 192.168.80.109:9000
stream_aware_field_types=false
disabled_retention_strategies = none,close
allow_leading_wildcard_searches = false
allow_highlighting = false
field_value_suggestion_mode = on
output_batch_size = 500
output_flush_interval = 1
output_fault_count_threshold = 5
output_fault_penalty_seconds = 30
processor_wait_strategy = blocking
ring_size = 65536
inputbuffer_ring_size = 65536
inputbuffer_wait_strategy = blocking
message_journal_enabled = true
message_journal_dir = /var/lib/graylog-server/journal
lb_recognition_period_seconds = 3
mongodb_uri = mongodb://localhost/graylog
mongodb_max_connections = 1000
integrations_scripts_dir = /usr/share/graylog-server/scripts

3. What steps have you already taken to try and solve the problem?

*Google searches. I found similar issues in forums including this one, but didn’t find a solution.
*Guide did not mention Java as a dependency, so uninstalled Graylog, installed Java and reinstalled Graylog.
*Original password_secret contained dashes. Tried replacing with zeros for RFC 4648 compatibility, but still face the same issue.

4. How can the community help?

Does anyone have any hints as to what may be causing these errors? Thanks in advance.

Can you also post your datanode config file? Also is datanode snd graylog on the same machine different machines etc?

Both datanode and graylog are installed on the same machine.

cat /etc/graylog/datanode/datanode.conf | egrep -v “^\s*(#|$)”

node_id_file = /etc/graylog/datanode/node-id
config_location = /etc/graylog/datanode
password_secret = XXXXXX
root_password_sha2 = XXXXXX
mongodb_uri = mongodb://localhost/graylog
opensearch_location = /usr/share/graylog-datanode/dist
opensearch_config_location = /var/lib/graylog-datanode/opensearch/config
opensearch_data_location = /var/lib/graylog-datanode/opensearch/data
opensearch_logs_location = /var/log/graylog-datanode/opensearch

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