Elasticsearch refuses to start

ES refuses to start.

What is wrong with this config?

    path.data: /d02/elastic/data
    # Path to log files:
    path.logs: /d02/elastic/logs
    path.work: /d02/elastic/data/work
    path.conf: /etc/elasticsearch
    # ----------------------------------- Memory -----------------------------------
    # Lock the memory on startup:

bootstrap.system_call_filter: false

bootstrap.memory_lock: true

network.host: "xx.xx.xxx.xx"
# Set a custom port for HTTP:
http.port: 9200
# #
discovery.type: single-node

index.codec: best_compression

xpack.security.enabled: true

xpack.security.authc.accept_default_password: false

      type: file
      order: 0

      type: native
      order: 1
    authentication.enabled: true/>

Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:


This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.


Please paste your elasticsearch logs here so it makes it easier to debug...

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