URGENT HELP : can't connect to my ES and Kibana after installing shield !
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 !
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.
Re: Installing shield
Thanks! I was using ES 1.4.0, and when I upgraded it worked fine. Cheers Glen On 18 February 2015 at 13:47, Jay Modi jay.m...@elasticsearch.com wrote: Are you using ES 1.4.3? Is the plugins directory on the same filesystem/partition as the rest of elasticsearch? On Tuesday, February 17, 2015 at 9:53:17 AM UTC-5, Glen Avery wrote: I have tried to install shield for elasticsearch on fedora 21 However I get the following error [root@localhost elasticsearch]# bin/plugin -i elasticsearch/license/latest - Installing elasticsearch/license/latest... Trying http://download.elasticsearch.org/elasticsearch/license/ license-latest.zip... Downloading DONE Installed elasticsearch/license/latest into /usr/share/elasticsearch/ plugins/license [root@localhost elasticsearch]# bin/plugin -i elasticsearch/shield/latest - Installing elasticsearch/shield/latest... Trying http://download.elasticsearch.org/elasticsearch/shield/ shield-latest.zip... Downloading ..DONE Installed elasticsearch/shield/latest into /usr/share/elasticsearch/ plugins/shield Failed to install elasticsearch/shield/latest, reason: Could not move [/usr/share/elasticsearch/plugins/shield/config] to [/usr/share/elasticsearch/plugins/shield/config] Has anyone else tried installing shield and seen this error? Cheers Glen -- You received this message because you are subscribed to a topic in the Google Groups elasticsearch group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/ZB9AHpfyV9w/unsubscribe. To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ce31ad48-271f-4b85-86d6-f4173850c41d%40googlegroups.com https://groups.google.com/d/msgid/elasticsearch/ce31ad48-271f-4b85-86d6-f4173850c41d%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- mvh Glen 070 8715166 -- 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/CAEr9Q_ds-LS6NVdowSXxnmanGfpXn9XJHCgfdOh%3DW38BsvtW2w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Installing shield
Are you using ES 1.4.3? Is the plugins directory on the same filesystem/partition as the rest of elasticsearch? On Tuesday, February 17, 2015 at 9:53:17 AM UTC-5, Glen Avery wrote: I have tried to install shield for elasticsearch on fedora 21 However I get the following error [root@localhost elasticsearch]# bin/plugin -i elasticsearch/license/latest - Installing elasticsearch/license/latest... Trying http://download.elasticsearch.org/elasticsearch/license/license-latest.zip. .. Downloading DONE Installed elasticsearch/license/latest into /usr/share/elasticsearch/plugins/license [root@localhost elasticsearch]# bin/plugin -i elasticsearch/shield/latest - Installing elasticsearch/shield/latest... Trying http://download.elasticsearch.org/elasticsearch/shield/shield-latest.zip. .. Downloading ..DONE Installed elasticsearch/shield/latest into /usr/share/elasticsearch/plugins/shield Failed to install elasticsearch/shield/latest, reason: Could not move [/usr/share/elasticsearch/plugins/shield/config] to [/usr/share/elasticsearch/plugins/shield/config] Has anyone else tried installing shield and seen this error? Cheers Glen -- 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/ce31ad48-271f-4b85-86d6-f4173850c41d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.