# ERROR: Failed to determine the health of the cluster

**URL:** https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772
**Category:** Kibana
**Created:** [May 2, 2022, 8:11pm UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772 "2022-05-02T20:11:37Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hernani33](https://avatars.discourse-cdn.com/v4/letter/h/e95f7d/32.png) [@hernani33](https://discuss.elastic.co/u/hernani33)
#### Post date: [May 2, 2022, 8:11pm UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772/1 "2022-05-02T20:11:37Z")

</div>

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

---

<div class="post-metadata">

### Author: ![grfneto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grfneto/32/125776_2.png) [@grfneto](https://discuss.elastic.co/u/grfneto)
#### Post date: [May 3, 2022, 12:44am UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772/2 "2022-05-03T00:44:29Z")

</div>

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](https://www.elastic.co/guide/en/elasticsearch/reference/current/targz.html#_check_that_elasticsearch_is_running)

---

<div class="post-metadata">

### Author: ![hernani33](https://avatars.discourse-cdn.com/v4/letter/h/e95f7d/32.png) [@hernani33](https://discuss.elastic.co/u/hernani33)
#### Post date: [May 3, 2022, 12:36pm UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772/3 "2022-05-03T12:36:28Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![hernani33](https://avatars.discourse-cdn.com/v4/letter/h/e95f7d/32.png) [@hernani33](https://discuss.elastic.co/u/hernani33)
#### Post date: [May 3, 2022, 12:43pm UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772/4 "2022-05-03T12:43:26Z")

</div>

**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

---

<div class="post-metadata">

### Author: ![hernani33](https://avatars.discourse-cdn.com/v4/letter/h/e95f7d/32.png) [@hernani33](https://discuss.elastic.co/u/hernani33)
#### Post date: [May 3, 2022, 3:07pm UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772/5 "2022-05-03T15:07:11Z")

</div>

i resolve the problem,  
I had to increase disk space

now it works

thanks

hernani

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 31, 2022, 3:08pm UTC](https://discuss.elastic.co/t/error-failed-to-determine-the-health-of-the-cluster/303772/6 "2022-05-31T15:08:02Z")

</div>

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