Elasticsearch status failed (code=exited, status=78)

hi all,
After i changed elasticsearch.yml , i get this error.

Preformatted text● elasticsearch.service - Elasticsearch
Loaded: loaded (/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-05-27 14:16:05 UTC; 12min ago
Docs: http://www.elastic.co
Process: 29643 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=78)
Main PID: 29643 (code=exited, status=78)

May 27 14:15:58 dslog systemd[1]: Started Elasticsearch.
May 27 14:15:59 dslog elasticsearch[29643]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
May 27 14:16:05 dslog systemd[1]: elasticsearch.service: Main process exited, code=exited, status=78/CONFIG
May 27 14:16:05 dslog systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
indent preformatted text by 4 spaces

this is content of my elasticsearch.yml file

indent preformatted text by 4 spaces

------------------------------------ Node ------------------------------------

Use a descriptive name for the node:

#node.name: node-1

Add custom attributes to the node:

#node.attr.rack: r1

----------------------------------- Paths ------------------------------------

Path to directory where to store the data (separate multiple locations by comma):

path.data: /var/lib/elasticsearch

Path to log files:

path.logs: /var/log/elasticsearch

----------------------------------- Memory -----------------------------------

Lock the memory on startup:

#bootstrap.memory_lock: true

Make sure that the heap size is set to about half the memory available

on the system and that the owner of the process is allowed to use this

limit.

Elasticsearch performs poorly when the system is swapping the memory.

---------------------------------- Network -----------------------------------

Set the bind address to a specific IP (IPv4 or IPv6):

network.host: 0.0.0.0

Set a custom port for HTTP:

http.port: 9200

For more information, consult the network module documentation.

--------------------------------- Discovery ----------------------------------

Pass an initial list of hosts to perform discovery when this node is started:

The default list of hosts is ["127.0.0.1", "[::1]"]

#discovery.seed_hosts: ["host1", "host2"]

Bootstrap the cluster using an initial set of master-eligible nodes:

#cluster.initial_master_nodes: ["node-1", "node-2"]

For more information, consult the discovery and cluster formation module documentation.

---------------------------------- Gateway -----------------------------------

Block initial recovery after a full cluster restart until N nodes are started:

indent preformatted text by 4 spaces

Any idea?

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