I am trying to run Elasticsearch 2.1.1 in my Linux machine which I am the root user of it.
When I tried to execute the Elasticsearch.I am getting the following error
Open script file:
vi bin/elasticsearch
Add property for allow root:
ES_JAVA_OPTS="-Des.insecure.allow.root=true"
Good luck.