Elasticsearch Not Working


(shriyansh jain) #1

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bbbf214b-909b-4819-a6ca-508e76c7af7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #2

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
web: www.campaignmonitor.com

On 8 July 2014 10:03, shriyansh jain 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.
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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624b5if1JbJ-BGEwZ31QwwmRsbmjTmj34infrMvh8MPHY7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(arshpreet singh) #3

On Tue, Jul 8, 2014 at 5:33 AM, shriyansh jain 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


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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAAstK2Ge%2B9CYeFYX0tiTQ2XL0Y%3Dcw49vUOLhGpC%2Bjn2i6Oyw7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(shriyansh jain) #4

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
<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/
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e48f5f1e-dfe8-4f25-b9f0-b787762b631b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(shriyansh jain) #5

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 <javascript:>
web: www.campaignmonitor.com

On 8 July 2014 10:03, shriyansh jain <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 <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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/269395b9-7d48-4f0c-93de-4d7b275dff6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #6

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

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 8 July 2014 10:25, shriyansh jain 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
web: www.campaignmonitor.com

On 8 July 2014 10:03, shriyansh jain 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.
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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624bY-27tu7iEoGy5rqU6E1po-2UX3KhMmvW6dGbfoEpkZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(shriyansh jain) #7

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

sudo /etc/init.d/elasticsearch statusThanks,
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 <javascript:>
web: www.campaignmonitor.com

On 8 July 2014 10:03, shriyansh jain <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 <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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a37913e3-fd5a-45b1-85c1-9d20fad05c6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(arshpreet singh) #8

On Tue, Jul 8, 2014 at 5:53 AM, shriyansh jain 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


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.
To view this discussion on the web visit 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.


(shriyansh jain) #9

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
<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/
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bc85faa2-406e-4fac-ac75-06649d1bf075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Hai S. Ha) #10

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bf4963fd-4105-401b-ba8d-d1f14e9691e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Hai S. Ha) #11

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0d83a51c-5797-42fe-a6e8-bfa346c2f486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(shriyansh jain) #12

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2ddafa18-d118-409d-98f3-60124e757595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #13