Start up Elasticsearch

alerting

(EL) #1

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]


(Christian Dahlqvist) #2

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


(system) #3

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