URGENT HELP : can't connect to my ES and Kibana after installing shield !

2015-04-01 Thread BEN SALEM Omar
Hi everyone, 

I've installed the shield to add authentication to my ES ! 

When I've tried to add a user with an admin role, an error has occured 
saying that there is a syntax error in the elif[$ES_INCLUDE]

(I've created the user with the root since I start my ES with the root user 
!)

Now, when I try to run Kibana, this error jumps up : 

https://lh3.googleusercontent.com/-_E2HAz8ry-I/VRv-M7bqcrI/AGk/gOfo1qxfn-0/s1600/costin.PNG
And when I try to access to my Marvel plugin, a box showing authentication 
required jumps to my face ! when I enter the user I've created (with the 
error I mentionned) , I can't access to it !!!


What to do please??! I'm in a huge hurry !


-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/f9984301-7077-4893-8e13-63900d28cf82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: URGENT HELP : can't connect to my ES and Kibana after installing shield !

2015-04-01 Thread BEN SALEM Omar
Ok, I've managed to solve my own problem.

First of all things, if you want to just remove the shield plugin run under 
the elasticsearch :

$ bin/plugin --remove shield

Now, to the syntax error in the elef line in the esusers, generally, when 
there is such an error, it's related to things before that line.
In fact there was something like this : 
$done: 
correction : 
$done;

Now, we could add users within shield and grunt them the desired role.

But, even if I've done it, I couldn't access to my ES cluster with the new 
born user; I think because my ES is running as a service and not starting 
with bin/elasticsearch, that lead to misunderstanding.

The solution I found was to transfer the 
/usr/share/elasticsearch/config/shield under /etc/elasticsearch
$ln -s /usr/share/elasticsearch/config/shield/ /etc/elasticsearch

And that was it ! 
Hope that could be of a help for anyone else facing the same problem !

On Wednesday, April 1, 2015 at 4:19:52 PM UTC+2, BEN SALEM Omar wrote:

 Hi everyone, 

 I've installed the shield to add authentication to my ES ! 

 When I've tried to add a user with an admin role, an error has occured 
 saying that there is a syntax error in the elif[$ES_INCLUDE]

 (I've created the user with the root since I start my ES with the root 
 user !)

 Now, when I try to run Kibana, this error jumps up : 


 https://lh3.googleusercontent.com/-_E2HAz8ry-I/VRv-M7bqcrI/AGk/gOfo1qxfn-0/s1600/costin.PNG
 And when I try to access to my Marvel plugin, a box showing authentication 
 required jumps to my face ! when I enter the user I've created (with the 
 error I mentionned) , I can't access to it !!!


 What to do please??! I'm in a huge hurry !




-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1e32b404-db19-4679-89e9-c608c9e67c30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.