# Elasticsearch Not Working

**URL:** <https://discuss.elastic.co/t/elasticsearch-not-working/18516>\
**Category:** Elasticsearch\
**Created:** [July 8, 2014, 12:03am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516 "2014-07-08T00:03:44Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [July 8, 2014, 12:03am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/1 "2014-07-08T00:03:44Z")

</div>

When I am verifying the elastic-search status, its giving me the following  
error message.

_elasticsearch dead but subsys locked_

Please help me out solving this.

Thank you.  
Shriyansh Jain

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 8, 2014, 12:06am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/2 "2014-07-08T00:06:34Z")

</div>

You need to provide more details for people to be able to effectively help.

How are you verifying this, what method are you using?

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 8 July 2014 10:03, shriyansh jain [shriyanshajain@gmail.com](mailto:shriyanshajain@gmail.com) wrote:

> When I am verifying the elastic-search status, its giving me the following  
> error message.
> 
> _elasticsearch dead but subsys locked_
> 
> Please help me out solving this.
> 
> Thank you.  
> Shriyansh Jain
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624b5if1JbJ-BGEwZ31QwwmRsbmjTmj34infrMvh8MPHY7g%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624b5if1JbJ-BGEwZ31QwwmRsbmjTmj34infrMvh8MPHY7g%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![arshpreet\_singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arshpreet_singh/32/1362_2.png) [@arshpreet\_singh](https://discuss.elastic.co/u/arshpreet_singh)\
**Post date:** [July 8, 2014, 12:11am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/3 "2014-07-08T00:11:55Z")

</div>

On Tue, Jul 8, 2014 at 5:33 AM, shriyansh jain [shriyanshajain@gmail.com](mailto:shriyanshajain@gmail.com) wrote:

> When I am verifying the elastic-search status, its giving me the following  
> error message.
> 
> elasticsearch dead but subsys locked

ipcs -s | grep elasticsearch

Can you post output for the above command?

--

Thanks  
Arshpreet singh

> **[my net house](https://arshpreetsingh.wordpress.com/)**
>
> WAHEGURU....!

I have no special talents. Only passionately curious

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAAstK2Ge%2B9CYeFYX0tiTQ2XL0Y%3Dcw49vUOLhGpC%2Bjn2i6Oyw7w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAAstK2Ge%2B9CYeFYX0tiTQ2XL0Y%3Dcw49vUOLhGpC%2Bjn2i6Oyw7w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [July 8, 2014, 12:23am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/4 "2014-07-08T00:23:43Z")

</div>

Hey Arshpreet,

I am not getting anything in output.

Thank you,  
Shriyansh

On Monday, July 7, 2014 5:12:05 PM UTC-7, arshpreet singh wrote:

> On Tue, Jul 8, 2014 at 5:33 AM, shriyansh jain \<[shriyan...@gmail.com](mailto:shriyan...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > When I am verifying the elastic-search status, its giving me the  
> > following  
> > error message.
> > 
> > elasticsearch dead but subsys locked
> 
> ipcs -s | grep elasticsearch
> 
> Can you post output for the above command?
> 
> --
> 
> Thanks  
> Arshpreet singh  
> [http://arshpreetsingh.wordpress.com/](http://arshpreetsingh.wordpress.com/)  
> I have no special talents. Only passionately curious

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e48f5f1e-dfe8-4f25-b9f0-b787762b631b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e48f5f1e-dfe8-4f25-b9f0-b787762b631b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [July 8, 2014, 12:25am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/5 "2014-07-08T00:25:29Z")

</div>

I am just running a command from terminal.

Thanks,  
Shriyansh

On Monday, July 7, 2014 5:07:04 PM UTC-7, Mark Walkom wrote:

> You need to provide more details for people to be able to effectively help.
> 
> How are you verifying this, what method are you using?
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 8 July 2014 10:03, shriyansh jain \<[shriyan...@gmail.com](mailto:shriyan...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> > When I am verifying the elastic-search status, its giving me the  
> > following error message.
> > 
> > _elasticsearch dead but subsys locked_
> > 
> > Please help me out solving this.
> > 
> > Thank you.  
> > Shriyansh Jain
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/269395b9-7d48-4f0c-93de-4d7b275dff6d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/269395b9-7d48-4f0c-93de-4d7b275dff6d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 8, 2014, 12:26am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/6 "2014-07-08T00:26:08Z")

</div>

What command?  
Please be explicit, provide what you are running and the output.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 8 July 2014 10:25, shriyansh jain [shriyanshajain@gmail.com](mailto:shriyanshajain@gmail.com) wrote:

> I am just running a command from terminal.
> 
> Thanks,  
> Shriyansh
> 
> On Monday, July 7, 2014 5:07:04 PM UTC-7, Mark Walkom wrote:
> 
> > You need to provide more details for people to be able to effectively  
> > help.
> > 
> > How are you verifying this, what method are you using?
> > 
> > Regards,  
> > Mark Walkom
> > 
> > Infrastructure Engineer  
> > Campaign Monitor  
> > email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com)  
> > web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> > 
> > On 8 July 2014 10:03, shriyansh jain [shriyan...@gmail.com](mailto:shriyan...@gmail.com) wrote:
> > 
> > > When I am verifying the elastic-search status, its giving me the  
> > > following error message.
> > > 
> > > _elasticsearch dead but subsys locked_
> > > 
> > > Please help me out solving this.
> > > 
> > > Thank you.  
> > > Shriyansh Jain
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/269395b9-7d48-4f0c-93de-4d7b275dff6d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/269395b9-7d48-4f0c-93de-4d7b275dff6d%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/269395b9-7d48-4f0c-93de-4d7b275dff6d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/269395b9-7d48-4f0c-93de-4d7b275dff6d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624bY-27tu7iEoGy5rqU6E1po-2UX3KhMmvW6dGbfoEpkZQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624bY-27tu7iEoGy5rqU6E1po-2UX3KhMmvW6dGbfoEpkZQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [July 8, 2014, 12:27am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/7 "2014-07-08T00:27:41Z")

</div>

Hey,  
I am running the following command from terminal to verify the status

_sudo /etc/init.d/elasticsearch status_Thanks,  
Shriyansh

On Monday, July 7, 2014 5:07:04 PM UTC-7, Mark Walkom wrote:

> You need to provide more details for people to be able to effectively help.
> 
> How are you verifying this, what method are you using?
> 
> Regards,  
> Mark Walkom
> 
> Infrastructure Engineer  
> Campaign Monitor  
> email: [ma...@campaignmonitor.com](mailto:ma...@campaignmonitor.com) \<javascript:\>  
> web: [www.campaignmonitor.com](http://www.campaignmonitor.com)
> 
> On 8 July 2014 10:03, shriyansh jain \<[shriyan...@gmail.com](mailto:shriyan...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> > When I am verifying the elastic-search status, its giving me the  
> > following error message.
> > 
> > _elasticsearch dead but subsys locked_
> > 
> > Please help me out solving this.
> > 
> > Thank you.  
> > Shriyansh Jain
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a37913e3-fd5a-45b1-85c1-9d20fad05c6b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a37913e3-fd5a-45b1-85c1-9d20fad05c6b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![arshpreet\_singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arshpreet_singh/32/1362_2.png) [@arshpreet\_singh](https://discuss.elastic.co/u/arshpreet_singh)\
**Post date:** [July 8, 2014, 12:28am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/8 "2014-07-08T00:28:52Z")

</div>

On Tue, Jul 8, 2014 at 5:53 AM, shriyansh jain [shriyanshajain@gmail.com](mailto:shriyanshajain@gmail.com) wrote:

> Hey Arshpreet,
> 
> I am not getting anything in output.

Please avoid top posting and RTF while replying in mailing lists.  
IMHO your service is blocked and you need to kill the demon.

sudo /etc/init.d/elasticsearch restart  
or  
sudo /etc/init.d/elasticsearch stop  
sudo /etc/init.d/elasticsearch start

--

Thanks  
Arshpreet singh

> **[my net house](https://arshpreetsingh.wordpress.com/)**
>
> WAHEGURU....!

I have no special talents. Only passionately curious

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAAstK2Hg%3DGBCYL4kr32VVyN%2BC6rR9p%3Di3qTLF8Y\_ajDa7WAiJw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAAstK2Hg%3DGBCYL4kr32VVyN%2BC6rR9p%3Di3qTLF8Y_ajDa7WAiJw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [July 8, 2014, 12:32am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/9 "2014-07-08T00:32:46Z")

</div>

Hey,  
I tried executing the above commands specified by you. But still not  
getting the elastic-search working.  
Still giving the same status message, "elasticsearch dead but subsys locked"

Thanks,  
Shriyansh

On Monday, July 7, 2014 5:29:00 PM UTC-7, arshpreet singh wrote:

> On Tue, Jul 8, 2014 at 5:53 AM, shriyansh jain \<[shriyan...@gmail.com](mailto:shriyan...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hey Arshpreet,
> > 
> > I am not getting anything in output.
> 
> Please avoid top posting and RTF while replying in mailing lists.  
> IMHO your service is blocked and you need to kill the demon.
> 
> sudo /etc/init.d/elasticsearch restart  
> or  
> sudo /etc/init.d/elasticsearch stop  
> sudo /etc/init.d/elasticsearch start
> 
> --
> 
> Thanks  
> Arshpreet singh  
> [http://arshpreetsingh.wordpress.com/](http://arshpreetsingh.wordpress.com/)  
> I have no special talents. Only passionately curious

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bc85faa2-406e-4fac-ac75-06649d1bf075%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bc85faa2-406e-4fac-ac75-06649d1bf075%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Hai\_S\_Ha](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@Hai\_S\_Ha](https://discuss.elastic.co/u/Hai_S_Ha)\
**Post date:** [July 8, 2014, 11:59am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/10 "2014-07-08T11:59:50Z")

</div>

I got exactly the same problem like Shriyansh Jain. Anyone knows what  
happened?  
Thanks a lot for helping.

On Tuesday, July 8, 2014 2:03:44 AM UTC+2, shriyansh jain wrote:

> When I am verifying the elastic-search status, its giving me the following  
> error message.
> 
> _elasticsearch dead but subsys locked_
> 
> Please help me out solving this.
> 
> Thank you.  
> Shriyansh Jain

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/bf4963fd-4105-401b-ba8d-d1f14e9691e0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bf4963fd-4105-401b-ba8d-d1f14e9691e0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Hai\_S\_Ha](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@Hai\_S\_Ha](https://discuss.elastic.co/u/Hai_S_Ha)\
**Post date:** [July 8, 2014, 12:58pm UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/11 "2014-07-08T12:58:53Z")

</div>

Hi,  
Here is the way to solve it:

You have to set the variables in /etc/elasticsearch/elasticsearch.yml:  
path.data: path/to/data  
path.work: path/to/work  
path.logs: /var/log/elasticsearch  
path.conf: /etc/elasticsearch

And remember to give access to user "elasticsearch" for folder that  
elasticsearch uses:  
chown -R elasticsearch /path/to/data  
chown -R elasticsearch /path/to/work

Regards.

On Tuesday, July 8, 2014 1:59:50 PM UTC+2, Hai S. Ha wrote:

> I got exactly the same problem like Shriyansh Jain. Anyone knows what  
> happened?  
> Thanks a lot for helping.
> 
> On Tuesday, July 8, 2014 2:03:44 AM UTC+2, shriyansh jain wrote:
> 
> > When I am verifying the elastic-search status, its giving me the  
> > following error message.
> > 
> > _elasticsearch dead but subsys locked_
> > 
> > Please help me out solving this.
> > 
> > Thank you.  
> > Shriyansh Jain

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0d83a51c-5797-42fe-a6e8-bfa346c2f486%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0d83a51c-5797-42fe-a6e8-bfa346c2f486%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![shriyansh\_jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shriyansh_jain/32/1035_2.png) [@shriyansh\_jain](https://discuss.elastic.co/u/shriyansh_jain)\
**Post date:** [July 8, 2014, 10:40pm UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/12 "2014-07-08T22:40:06Z")

</div>

Hi,  
Thank you very much Hai. It worked.

Thanks,  
Shriyansh

On Tuesday, July 8, 2014 5:58:53 AM UTC-7, Hai S. Ha wrote:

> Hi,  
> Here is the way to solve it:
> 
> You have to set the variables in /etc/elasticsearch/elasticsearch.yml:  
> path.data: path/to/data  
> path.work: path/to/work  
> path.logs: /var/log/elasticsearch  
> path.conf: /etc/elasticsearch
> 
> And remember to give access to user "elasticsearch" for folder that  
> elasticsearch uses:  
> chown -R elasticsearch /path/to/data  
> chown -R elasticsearch /path/to/work
> 
> Regards.
> 
> On Tuesday, July 8, 2014 1:59:50 PM UTC+2, Hai S. Ha wrote:
> 
> > I got exactly the same problem like Shriyansh Jain. Anyone knows what  
> > happened?  
> > Thanks a lot for helping.
> > 
> > On Tuesday, July 8, 2014 2:03:44 AM UTC+2, shriyansh jain wrote:
> > 
> > > When I am verifying the elastic-search status, its giving me the  
> > > following error message.
> > > 
> > > _elasticsearch dead but subsys locked_
> > > 
> > > Please help me out solving this.
> > > 
> > > Thank you.  
> > > Shriyansh Jain

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2ddafa18-d118-409d-98f3-60124e757595%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2ddafa18-d118-409d-98f3-60124e757595%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:17am UTC](https://discuss.elastic.co/t/elasticsearch-not-working/18516/13 "2017-07-06T01:17:12Z")

</div>


