I'm trying to run ElasticSearch on Raspbian on my Raspberry Pi 3. After simply running sudo apt install elasticsearch
it installed A LOT of things, and then I tried sudo service elasticsearch status
, which gives the following result:
$ sudo service elasticsearch status
● elasticsearch.service - LSB: Starts elasticsearch
Loaded: loaded (/etc/init.d/elasticsearch)
Active: active (exited) since Thu 2017-02-16 23:28:52 UTC; 1s ago
Process: 6022 ExecStop=/etc/init.d/elasticsearch stop (code=exited, status=0/SUCCESS)
Process: 6063 ExecStart=/etc/init.d/elasticsearch start (code=exited, status=0/SUCCESS)
I don't really get what this active (exited)
means. I tried getting the ElasticSearch version, but that also failed:
$ curl -XGET 'http://localhost:9200'
curl: (7) Failed to connect to localhost port 9200: Connection refused
Does anybody know what is wrong and how I can proceed from here?
/var/log/elasticsearch
, the folder is empty. Any other ideas?