Elasticsearch-5.0.0 not able to start the service

Hi ,
I installed the elasticsearch-5.0.0 and when i started the service(when i run as non-root user) which states the following error@ Attachment) :
my java version is : 1.8.0_111


please help me on this.

Regards,
jagan

Hi @jagan,

if you run sudo ./elasticsearch it runs effectively as root. Quoting man sudo:

sudo allows a permitted user to execute a command as the superuser

Hence, just run ./elasticsearch without sudo. Also, it is more common to start Elasticsearch from its root folder and run ./bin/elasticsearch.

Daniel

Also please don't post pictures of text, they are difficult to read and some people may not be even able to see them :slight_smile:

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