I am trying to start elasticsearch by running .bin/elasticsearch
from the elasticsearch directory. However, I keep getting the error message ERROR: Elasticsearch exited unexpectedly
. What could be the possible solution to this?
I installed Elasticsearch from archives on linux using the commands below.
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.3.3-linux-x86_64.tar.gz
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.3.3-linux-x86_64.tar.gz.sha512
shasum -a 512 -c elasticsearch-8.3.3-linux-x86_64.tar.gz.sha512
tar -xzf elasticsearch-8.3.3-linux-x86_64.tar.gz
cd elasticsearch-8.3.3/
can not run elasticsearch as root
are you using a root user ? – Matrass