# Elasticsearch dead but subsys locked - amazonlinux

**URL:** <https://discuss.elastic.co/t/elasticsearch-dead-but-subsys-locked-amazonlinux/207341>\
**Category:** Elasticsearch\
**Created:** [November 11, 2019, 11:28am UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-subsys-locked-amazonlinux/207341 "2019-11-11T11:28:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tharani](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@tharani](https://discuss.elastic.co/u/tharani)\
**Post date:** [November 11, 2019, 11:28am UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-subsys-locked-amazonlinux/207341/1 "2019-11-11T11:28:03Z")

</div>

Hi, am trying to install Elasticsearch 7.x in amazon linux, after installing and changing network.host, port, and path. I tried to start elastic search, it started, but when i check status, I got. "elasticsearch dead but subsys locked". so i deleted elasticsearch file in /var/lock/subsys, and again started .., sudo service elasticsearch start  
Starting elasticsearch: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. [OK]  
but  
sudo service elasticsearch status  
elasticsearch dead but subsys locked.  
How to resolve this,

---

<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:** [December 9, 2019, 11:28am UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-subsys-locked-amazonlinux/207341/2 "2019-12-09T11:28:14Z")

</div>

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