Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!
1. Describe your incident:
Graylog 5 starts and all of it’s dependancies but doesn’t bind to tcp port 9000.
tcp6 0 0 ip6-localhost:9200 [::]:* LISTEN 1177/java
tcp6 0 0 localhost:9200 [::]:* LISTEN 1177/java
tcp6 0 0 localhost:9300 [::]:* LISTEN 1177/java
tcp6 0 0 ip6-localhost:9300 [::]:* LISTEN 1177/java
It only happens after a recent update to Ubuntu 22.04.
I can go back to my last TimeShift snapshot and Graylog starts and binds to tcp port 9000.
2. Describe your environment:
- OS Information:
Ubuntu 22.04 - Package Version:
5.0.6 - Service logs, configurations, and environment variables:
Graylog.log messages
root@ces-linux-01:~# grep ERROR /var/log/elasticsearch/graylog.log
[2023-04-21T08:22:18,005][ERROR][o.e.i.g.GeoIpDownloader ] [ces-linux-01] exception during geoip databases update
[2023-04-21T08:58:47,764][ERROR][o.e.i.g.GeoIpDownloader ] [ces-linux-01] exception during geoip databases update
root@ces-linux-01:~# grep WARNING /var/log/elasticsearch/graylog.log
root@ces-linux-01:~# grep WARN /var/log/elasticsearch/graylog.log
[2023-04-21T08:20:33,720][WARN ][o.e.c.InternalClusterInfoService] [ces-linux-01] failed to retrieve stats for node [L8TAII3STuKssvoatbKtQA]: [ces-linux-01][127.0.0.1:9300][cluster:monitor/nodes/stats[n]]
[2023-04-21T08:20:33,744][WARN ][o.e.c.InternalClusterInfoService] [ces-linux-01] failed to retrieve shard stats from node [L8TAII3STuKssvoatbKtQA]: [ces-linux-01][127.0.0.1:9300][indices:monitor/stats[n]]
[2023-04-21T08:22:13,843][WARN ][o.e.b.BootstrapChecks ] [ces-linux-01] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2023-04-21T08:22:16,487][WARN ][o.e.x.s.s.SecurityStatusChangeListener] [ces-linux-01] Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See Set up minimal security for Elasticsearch | Elasticsearch Guide [7.17] | Elastic to enable security.
[2023-04-21T08:58:46,029][WARN ][o.e.b.BootstrapChecks ] [ces-linux-01] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2023-04-21T08:58:47,203][WARN ][o.e.x.s.s.SecurityStatusChangeListener] [ces-linux-01] Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See Set up minimal security for Elasticsearch | Elasticsearch Guide [7.17] | Elastic to enable security.
Graylog server.log
2023-04-21T08:20:30.802-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #1).
2023-04-21T08:20:30.809-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #2).
2023-04-21T08:20:30.814-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #3).
2023-04-21T08:20:30.824-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #4).
2023-04-21T08:20:30.842-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #5).
2023-04-21T08:20:30.876-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #6).
2023-04-21T08:20:30.942-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #7).
2023-04-21T08:20:31.072-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #8).
2023-04-21T08:20:31.330-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #9).
2023-04-21T08:20:31.844-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #10).
2023-04-21T08:20:32.870-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #11).
2023-04-21T08:20:34.920-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #12).
2023-04-21T08:20:35.890-07:00 ERROR [ClusterAdapterES7] An error occurred: (Connection refused)
2023-04-21T08:20:35.984-07:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused.
2023-04-21T08:20:39.019-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #13).
2023-04-21T08:20:40.985-07:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused.
2023-04-21T08:20:45.986-07:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused.
2023-04-21T08:20:47.213-07:00 ERROR [Messages] Caught exception during bulk indexing: ElasticsearchException{message=ElasticsearchException[An error occurred: ]; nested: ConnectException[Connection refused]; nested: ConnectException[Connection refused];, errorDetails=}, retrying (attempt #14).
2023-04-21T08:20:50.987-07:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused.
2023-04-21T08:20:55.989-07:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused.
2023-04-21T08:20:57.104-07:00 ERROR [InMemoryRolePermissionResolver] Could not find roles collection, no user roles updated.
2023-04-21T08:20:57.804-07:00 ERROR [JobSchedulerService] Error running job execution engine
2023-04-21T08:20:57.914-07:00 ERROR [NodePingThread] Uncaught exception in Periodical
2023-04-21T08:20:57.983-07:00 ERROR [MongoDBProcessingStatusRecorderService] Couldn’t persist processing status
3. What steps have you already taken to try and solve the problem?
Google searches for the log entry but nothing that works.
4. How can the community help?
Some assist how to debug the issue or suggestion on what could be the issue.
Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]