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 ,
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
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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.