Elasticsearch can not run as root

(Fabrice) #1

I've installed elasticsearch with the .deb packages, I use it with sonar.
When i try to start sonar, it not run. when i look the logfile (es.log), it is because elasticsearch can not run as root.
I want help

(Christian Dahlqvist) #2

Elasticsearch does not allow you run it as root, as described in the documentation. This is by design and I do not think there is any way around it. I believe the packages should set it up to run as elasticsearch.