`ubuntu@ubuntu:/usr/local/bin$ tail -f /var/log/graylog-server/server.log
2022-10-06T22:16:16.334-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:16.334-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6792
2022-10-06T22:16:21.335-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:21.335-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6793
2022-10-06T22:16:26.335-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:26.335-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6794
2022-10-06T22:16:31.336-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:31.336-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6795
2022-10-06T22:16:36.336-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:36.337-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6796
2022-10-06T22:16:41.337-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:41.337-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6797
2022-10-06T22:16:46.338-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:46.338-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6798
2022-10-06T22:16:51.339-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:51.339-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6799
2022-10-06T22:16:56.339-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:16:56.339-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6800
2022-10-06T22:17:01.340-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:17:01.340-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6801
2022-10-06T22:17:06.341-03:00 ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused).
2022-10-06T22:17:06.341-03:00 INFO [VersionProbe] Elasticsearch is not available. Retry #6802
Hello @emgonzalez59
Noticed in your logs it showed this…
Exception in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: JsonParseException[Duplicate field 'cluster.name'
As you shown above…
Something wrong with Elasticsearch yaml file.
It should look something like this default setting
EDIT: But this thing is, you should still be able to login Graylog Without Elasticsearch, so I would double check for duplicate configurations, Permissions on files and folders, firewall and/or check Selinux/Apparmor enabled
I have deleted the duplicated lines in ElasticSearch config file and corercted the IP address to localhost 127.0.0.1 , and now I can access the Graylog WebUI thru http://IP_Address:9000
FYI here is the output of cat command for elasticsearch,yml file:
ubuntu@ubuntu:/etc/selinux$ cat /etc/elasticsearch/elasticsearch.yml | egrep -v "^\s*(#|$)"
cluster.name: graylog
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 127.0.0.1
http.port: 9200
action.auto_create_index: false
On the other hand, I run this command :
Another question (sorry for that…) It is the first time i installed a SIEM like Graylog, I am trying to integrate it with ClearPass Policy Manager NAC. Can I get documentation about it? Thanks again and sorry for this long issue…
just to clarify another thing… I have checked that my Ubuntu is NOT running SeLinux (output returns 1) >>
ubuntu@ubuntu:/etc/selinux$ selinuxenabled; echo $?
1