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.
On Monday, February 23, 2015 at 10:28:32 AM UTC-5, 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.
I got the same problem. Did you figure out what was your configuration pb
Jason ?
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.
I got the same problem. Did you figure out what was your configuration pb
Jason ?
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.
On Wed, Mar 11, 2015 at 9:25 AM, fmarchand <fmar...@agaetis.fr
<javascript:>> wrote:
Hi,
I got the same problem. Did you figure out what was your configuration pb
Jason ?
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.
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.
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
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.