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/037a76f2-0a77-4466-8794-512bdb72343d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.