Elasticsearch service can't start, I think some other process is killing it. Can you help me?
[root@vagrantbox ~]# systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since Mon 2016-12-05 11:03:46 UTC; 2h 22min ago
Docs: http://www.elastic.co
Process: 23757 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=killed, signal=KILL)
Process: 23756 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 23757 (code=killed, signal=KILL)
Dec 05 11:03:41 vagrantbox systemd[1]: Starting Elasticsearch...
Dec 05 11:03:41 vagrantbox systemd[1]: Started Elasticsearch.
Dec 05 11:03:46 vagrantbox systemd[1]: elasticsearch.service: main process exited, code=killed, status=9/KILL
Dec 05 11:03:46 vagrantbox systemd[1]: Unit elasticsearch.service entered failed state.
Dec 05 11:03:46 vagrantbox systemd[1]: elasticsearch.service failed.
lindlab
(Kristoffer Lindvaag)
December 5, 2016, 9:11pm
2
I'm having the same problem. I just had the same problem with CentOS 6 aswell.
warkolm
(Mark Walkom)
December 5, 2016, 9:12pm
3
Look at /var/log/elasticsearch/
for some proper logging.
@warkolm thank you for your response.
Elasticserach log (/var/log/elasticsearch/elasticsearch.log) has the following content:
...
[2016-12-05T04:34:28,958][INFO ][o.e.n.Node ] [] initializing ...
[2016-12-05T04:34:29,103][INFO ][o.e.e.NodeEnvironment ] [eWNnrQ8] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [35.6gb], net total_space [37.6gb], spins? [unknown], types [rootfs]
[2016-12-05T04:34:29,103][INFO ][o.e.e.NodeEnvironment ] [eWNnrQ8] heap size [1.9gb], compressed ordinary object pointers [true]
[2016-12-05T04:34:29,104][INFO ][o.e.n.Node ] [eWNnrQ8] node name [eWNnrQ8] derived from node ID; set [node.name ] to override
[2016-12-05T04:34:29,111][INFO ][o.e.n.Node ] [eWNnrQ8] version[5.0.2], pid[19411], build[f6b4951/2016-11-24T10:07:18.101Z], OS[Linux/3.10.0-327.36.3.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_05/25.5-b02]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [aggs-matrix-stats]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [ingest-common]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [lang-expression]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [lang-groovy]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [lang-mustache]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [lang-painless]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [percolator]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [reindex]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [transport-netty3]
[2016-12-05T04:34:31,353][INFO ][o.e.p.PluginsService ] [eWNnrQ8] loaded module [transport-netty4]
[2016-12-05T04:34:31,354][INFO ][o.e.p.PluginsService ] [eWNnrQ8] no plugins loaded
Yes it is, That is the last part of log file
system
(system)
Closed
January 2, 2017, 9:23pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.