Good Morning
I am trying since yesterday to add an admin account to the elasticsearch 2.4
shield plugin. I am using Ubuntu 14.04
on one node and Ubuntu 16.04
on the two other nodes.
I have installed the Shield plugin on my Logstash Server and there it worked. On my Elasticsearch Server I have installed the Java Version:
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
I tried the command:
sudo /usr/share/elasticsearch/bin/shield/esusers useradd esadm -r admin
I am always getting the error:
Could not find or load main class org.elasticsearch.shield.authc.esusers.tool.ESUsersTool
I installed the Shield Plugin on all three Nodes and restarted the elasticsearch service on all nodes and I also rebooted all three nodes :)
Anyone an Idea?
PS: I have done the steps of the question: Can't add admin in Shield Elasticsearch - [Error]Could not find or load main class org.elasticsearch.shield.authc.esusers.tool.ESUsersTool and it's still not working.
Did you add
path.plugins
to your elasticsearch.yml? I have the same problem with you. And after I removedpath.plugins
, it works.