ERROR: Failed to determine the health of the cluster. , with exit code 69


I run the command to create token but the result is like this, what should I do?

Hi @17HungLe02
Welcome to the community...

Perhaps take a look at

But you should really supply more information like

The version you're on.
What you installation method is.
What your configuration is? Otherwise we may just be guessing.
How did you set up manually or auto configuration

i followed this guide (https://www.elastic.co/guide/en/kibana/8.9/targz.html) This is version 8.9 and i setup auto

i have a new problem
image
what is this?

Which lines do I need to remove # from in the kibana.yml file?

That means during the auto setup the the Kibana process could not update the kibana.yml file which would appear to me that the user you started Kibana with does not have permission to write to the Kibana extract files.... Most likely due to permissions. Make sure that file is writable by

chmod 666 kibana.yml

Start elasticsearch first
Get the enrollment token that will be printed .

Then start Kibana... Watch the console and click on the link that shows in the console... Paste in the enrollment token.

i try restart elasticsearch and it doesn't seem to work

image

pls help me sir

Hi @17HungLe02

Sorry you are providing such little information and screenshots... instead of text.

I would start from scratch clean up / erase everything and try again...

set the permissions on the kibana.yml... before you start anything

Start Elastic ... let it come all the way up you should get all the credentials tokens everything...

then start kibana...

Do you have docker ? It might be easier...