Unable to start Elasticsearch after clean installation (CentOS or Ubuntu)

Hi @theo1

It looks like your cluster is configured with only one node. Because you specified network.host your cluster is going through the bootstrap checks, take a look here.

On the same page you also find an option to set for single-discovery. Please try it with this setting.

1 Like

Thanks ikakavas and MiTschMR.

It's working now. Here's a diff between the original file and the current file so you can see what's changed:

[tedl@localhost ~]$ sudo diff /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/elasticsearch.yml.0
17c17
< cluster.name: wazuh-el-log
---
> #cluster.name: my-application
23c23
< node.name: wazuh-el-node1
---
> node.name: node-1
59c59
< http.port: 9200
---
> #http.port: 9200
72c72
< cluster.initial_master_nodes: ["wazuh-el-node1"]
---
> cluster.initial_master_nodes: ["node-1"]
89,92d88
< #
< # Adding entry to get past error
< #
< xpack.ml.enabled: false

The xpack.ml.enabled:false disables Machine Learning. I'm using a very old processor and it seemed to be causing issues with Machine Learning started.

I'm going to try the installation process on a newer system to see if I can have Machine Learning enabled.

Many thanks for all the help!

Ted

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