Start up Elasticsearch

Hi,
I'm new in elastic
When I'm trying to startup elastic I'm getting the following error message:
Why it saying elastic CAN'T start as root ?

./bin/elasticsearch

    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.4.jar:6.2.4]

Caused by: java.lang.RuntimeException: can not run elasticsearch as root
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:105) ~[elasticsearch-6.2.4.jar:6.2.4]

I think the error message is quite clear. You must run Elasticsearch as a non-root user. For further information, see the documentation.

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