Start up Elasticsearch

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 ?


    at org.elasticsearch.bootstrap.Elasticsearch.main( ~[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( ~[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.