How to make elasticsearch turn on automatically

Hi All,

I have a prob with elasticsearch, I believe it is installed properly on my mac when I shut down and turn on the laptop it won't turn on again I did installation few time same issues, how u are guys handling this? I don't have logstash yet do i?

This is what it is saying

bin curl -XGET 'http://localhost:9200/_status'

curl: (7) Failed to connect to localhost port 9200: Connection refused

Thanks

How did you install Elasticsearch?

From the elastic website

Ok, so the tar.gz? If so, then you may want to use homebrew instead, as the tar.gz doesn't contain any scripts to manage startup like that.

I tried ./bin/elasticsearch
it worked, when i turn off and on computer, again i have to type the same command to start.
is this usual?

Yes, that is expected.

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