How to fix elasticsearch error failed service


(omidzamani) #1

my elk and filebeat ver = 5.5.1
installation steps with = https://goo.gl/EP2WD4

but, elasticsearch service = Failed ...
ERROR =

root@elk:~# systemctl status elasticsearch.service_

● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2017-07-26 13:06:07 IRDT; 1h 26min ago
Docs: http://www.elastic.co
Process: 28672 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path
Process: 28666 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 28672 (code=exited, status=1/FAILURE)

Jul 26 13:06:05 elk systemd[1]: Starting Elasticsearch...
Jul 26 13:06:05 elk systemd[1]: Started Elasticsearch.
Jul 26 13:06:07 elk systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Jul 26 13:06:07 elk systemd[1]: elasticsearch.service: Unit entered failed state.
Jul 26 13:06:07 elk systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
lines 1-13/13 (END)

/etc/elasticsearch/elasticsearch.yml ... config ↓

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

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

network.host: "localhost"

Set a custom port for HTTP:

http.port: 9200

For more information, consult the network module documentation.

... help me pleas


(system) #2

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