Elasticsearch Service won’t start

I am trying to start Elasticsearch, but I am getting this error!

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

It would be great if you could update your post to solve this.

Anyway here the problem seems to be a malformed elasticsearch.yml.

1 Like

Thanks for you respond.

I know, but I cant copy from the server and past the outside for the server.

Regarding the problem I checked Elasticsearch.yml. But I didn't understand the problem I reviewed the format for every line in configuration file but I am still getting this error.


Is this a new fresh installation or an upgrade? Also what version ?


You have a syntax error in your Elasticsearch.yml file.

Please post your Elasticsearch.yml file ... As text not an image.

Figure out a way to do it and perhaps we can help.

If it is not possible to provide the Elasticsearch.yml file, an alternative would be to start with a fresh configuration file and not use the corrupt file, if you cannot find where the corruption is. There is usually a default or reference file in the current directory you can use to check.

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