# Elasticsearch process is killed on Centos 7

**URL:** <https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103>\
**Category:** Elasticsearch\
**Created:** [December 5, 2016, 8:34pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103 "2016-12-05T20:34:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NextAngel](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@NextAngel](https://discuss.elastic.co/u/NextAngel)\
**Post date:** [December 5, 2016, 8:34pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103/1 "2016-12-05T20:34:59Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![lindlab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lindlab/32/13627_2.png) [@lindlab](https://discuss.elastic.co/u/lindlab)\
**Post date:** [December 5, 2016, 9:11pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103/2 "2016-12-05T21:11:12Z")

</div>

I'm having the same problem. I just had the same problem with CentOS 6 aswell.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 5, 2016, 9:12pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103/3 "2016-12-05T21:12:02Z")

</div>

Look at `/var/log/elasticsearch/` for some proper logging.

---

<div class="post-metadata">

**Author:** ![NextAngel](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@NextAngel](https://discuss.elastic.co/u/NextAngel)\
**Post date:** [December 5, 2016, 9:19pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103/4 "2016-12-05T21:19:50Z")

</div>

@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](http://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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 5, 2016, 9:20pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103/5 "2016-12-05T21:20:50Z")

</div>

Is that all?

---

<div class="post-metadata">

**Author:** ![NextAngel](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@NextAngel](https://discuss.elastic.co/u/NextAngel)\
**Post date:** [December 5, 2016, 9:23pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103/6 "2016-12-05T21:23:30Z")

</div>

Yes it is, That is the last part of log file

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 2, 2017, 9:23pm UTC](https://discuss.elastic.co/t/elasticsearch-process-is-killed-on-centos-7/68103/7 "2017-01-02T21:23:31Z")

</div>

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