ERROR: Failed to determine the health of the cluster

hello,
i have Elasticsearch-8.1.3.tar.gz
and kibana-8.1.3.tar.gz
they are work but when i make this command line ----> bin/Elasticsearch-create-enrollment-token -s kibana

give me error ---> ERROR: Failed to determine the health of the cluster.

i make de command line without sudo, log file no show above error
thanks
hernani

Hi @hernani33

Welcome to the community.

Can you access Elasticsearch on port 9200?
Check if Elasticsearch is running:
Install Elasticsearch from archive on Linux or MacOS | Elasticsearch Guide [8.1] | Elastic

hi, gerson

can´t access port 9200
Elasticsearch work on folder Elasticsearch-8.1.3/bin
kibana work well show me this---->

./bin/kibana

[2022-05-03T13:27:28.025+01:00][INFO ][plugins-service] Plugin "metricsEntities" is disabled.

i forgot to tell you topic in these message is when i make this command ---->

bin/Elasticsearch-create-enrollment-token -s kibana

now give me these error -->

warning: ignoring JAVA_HOME=/usr/lib/jvm/java-17-oracle; using bundled JDK
Failed to determine the health of the cluster. Cluster health is currently RED.
This means that some cluster data is unavailable and your cluster is not fully functional.
The cluster logs () might contain information/indications for the underlying cause It is recommended that you resolve the issues with your cluster before continuing It is very likely that the command will fail when run against an unhealthy cluster. If you still want to attempt to execute this command against an unhealthy cluster, you can pass the -f parameter. ERROR: Failed to determine the health of the cluster. Cluster health is currently RED hernani

i resolve the problem,
I had to increase disk space

now it works

thanks

hernani

2 Likes

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