If you set the proper configuration directory in the environment variable 
and run the esusers commands again, then your elasticsearch instance should 
be accessible.

If you must remove Shield: bin/plugin --remove shield
http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-plugins.html#_removing_plugins

On Wednesday, April 1, 2015 at 12:09:54 PM UTC-4, Lobna Tonn wrote:
>
>
> How to delete this shield plugin pleaase? I'm facing the same error since 
> I have my ES running as a service !
> On Monday, February 23, 2015 at 4:28:32 PM UTC+1, Jason wrote:
>>
>> I am able to run bin/elasticsearch and authenticate just fine but 
>> whenever I run elasticsearch as a service, I consistently receive the 
>> following error:
>>
>> {
>>   "error" : "AuthenticationException[unable to authenticate user 
>> [rdeniro] for REST request [/idx1?pretty]]",
>>   "status" : 401
>> }
>>
>> I made sure that the $ES_HOME/config/shield/ dir and files were all owned 
>> by ES user and tried to dig down to see how the two startup methods differ. 
>> Ultimately, it came down to something in 
>> /etc/elasticsearch/elasticsearch.yml by comparing the two runtime 
>> environments, but haven't been able to make much headway from there.
>>
>> Anyone have any thoughts on this? Thanks in advance for any help.
>>
>> Cheers,
>> Jason
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f37e4ae8-99c8-4b42-bb0a-6dd4faa4d2a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to