RE: Using Solr's zkcli.sh

2020-09-02 Thread Victor Kretzer
Vincent --

Your suggestion worked perfectly. After using chmod I'm now able to use the 
zkcli script. Thank you so much for the quick save.

Victor



Victor Kretzer
Sitecore Developer
Application Services
GDC IT Solutions
Office: 717-262-2080 ext. 151

www.gdcitsolutions.com

-Original Message-
From: Vincent Brehin  
Sent: Wednesday, September 2, 2020 6:10 AM
To: solr-user@lucene.apache.org
Subject: Re: Using Solr's zkcli.sh

Hi Victor,
For me also it's a first post to the list. Even if I am quite old to solr, I am 
a recent subscriber.
I guess you used install_solr_service.sh script for installing (either directly 
or through ansible role, or another wrapper).
IIRC this script removes exec permission for some other commands, including 
zkcli.
So you should first launch "sudo chmod a+x 
server/scripts/cloud-scripts/zkcli.sh" , then you should be able to use the 
command.
Let us know !
Vincent


Le mar. 1 sept. 2020 à 23:35, Victor Kretzer  a écrit :

> Thank you in advance. This is my first time using a mailing list like 
> this so hopefully I am doing so correctly.
>
> I am attempting to setup SolrCloud (Solr 6.6.6) and an external 
> zookeeper ensemble on Azure. I have three dedicated to the zookeeper 
> ensemble and two for solr all running Ubuntu 18.04 LTS. I've been 
> relying on the following
> documents:
>
>
>   *   Taking Solr to Production<
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fluce
> ne.apache.org%2Fsolr%2Fguide%2F6_6%2Ftaking-solr-to-production.html%23
> taking-solr-to-productiondata=02%7C01%7CVictorKretzer%40gdcit.com
> %7Cfb9f75bdcd7b485a8ace08d84f285bac%7C87b66f08478c40adbb095e93796da295
> %7C1%7C0%7C637346382497269184sdata=A1jZsEDZ%2FtEGKyvjixLyjYI7F%2F
> 0AQaZ38zM4hZbwuqw%3Dreserved=0
> >
>   *   Enbabling SSL<
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fluce
> ne.apache.org%2Fsolr%2Fguide%2F6_6%2Fenabling-ssl.html%23enabling-ssl&
> amp;data=02%7C01%7CVictorKretzer%40gdcit.com%7Cfb9f75bdcd7b485a8ace08d
> 84f285bac%7C87b66f08478c40adbb095e93796da295%7C1%7C0%7C637346382497269
> 184sdata=kDnYjqRCKqZ%2BjZpW3dEFdxi6lL1Glp%2BVPXozsJpAn9Y%3Dr
> eserved=0>
>
> I was able to complete the stand-alone portion of Enabling SSL on each 
> of the solr machines and have successfully navigated to the Admin page 
> using 
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprivate.address%2Fsolrdata=02%7C01%7CVictorKretzer%40gdcit.com%7Cfb9f75bdcd7b485a8ace08d84f285bac%7C87b66f08478c40adbb095e93796da295%7C1%7C0%7C637346382497269184sdata=aIPyGtMTFuZ3p7lmOi%2B11CRFZ8f3BQPm4NDU42zrhDI%3Dreserved=0.
>
>
> I am now trying to complete the section, SSL with SolrCloud, but I 
> cannot get past the Configure Zookeeper section. Whenever I try to run 
> server/scripts/cloud-scripts/zkcli.sh it says:
> it says
> -bash: server/scripts/cloud-scripts/zkcli.sh: Permission denied
>
> I've tried using sudo server/...  but then it says:
> sudo: server/scripts/cloud-scripts/zkcli.sh: command not found
>
> What am I doing wrong? Any help getting this set up would be greatly 
> appreciated.
>
> Thanks,
>
> Victor
>


Re: Using Solr's zkcli.sh

2020-09-02 Thread Vincent Brehin
Hi Victor,
For me also it's a first post to the list. Even if I am quite old to solr,
I am a recent subscriber.
I guess you used install_solr_service.sh script for installing (either
directly or through ansible role, or another wrapper).
IIRC this script removes exec permission for some other commands,
including zkcli.
So you should first launch "sudo chmod a+x
server/scripts/cloud-scripts/zkcli.sh" , then you should be able to use the
command.
Let us know !
Vincent


Le mar. 1 sept. 2020 à 23:35, Victor Kretzer  a
écrit :

> Thank you in advance. This is my first time using a mailing list like this
> so hopefully I am doing so correctly.
>
> I am attempting to setup SolrCloud (Solr 6.6.6) and an external zookeeper
> ensemble on Azure. I have three dedicated to the zookeeper ensemble and two
> for solr all running Ubuntu 18.04 LTS. I've been relying on the following
> documents:
>
>
>   *   Taking Solr to Production<
> https://lucene.apache.org/solr/guide/6_6/taking-solr-to-production.html#taking-solr-to-production
> >
>   *   Enbabling SSL<
> https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html#enabling-ssl>
>
> I was able to complete the stand-alone portion of Enabling SSL on each of
> the solr machines and have successfully navigated to the Admin page using
> https://private.address/solr.
>
>
> I am now trying to complete the section, SSL with SolrCloud, but I cannot
> get past the Configure Zookeeper section. Whenever I try to run
> server/scripts/cloud-scripts/zkcli.sh it says:
> it says
> -bash: server/scripts/cloud-scripts/zkcli.sh: Permission denied
>
> I've tried using sudo server/...  but then it says:
> sudo: server/scripts/cloud-scripts/zkcli.sh: command not found
>
> What am I doing wrong? Any help getting this set up would be greatly
> appreciated.
>
> Thanks,
>
> Victor
>


Using Solr's zkcli.sh

2020-09-01 Thread Victor Kretzer
Thank you in advance. This is my first time using a mailing list like this so 
hopefully I am doing so correctly.

I am attempting to setup SolrCloud (Solr 6.6.6) and an external zookeeper 
ensemble on Azure. I have three dedicated to the zookeeper ensemble and two for 
solr all running Ubuntu 18.04 LTS. I've been relying on the following documents:


  *   Taking Solr to 
Production
  *   Enbabling 
SSL

I was able to complete the stand-alone portion of Enabling SSL on each of the 
solr machines and have successfully navigated to the Admin page using 
https://private.address/solr.


I am now trying to complete the section, SSL with SolrCloud, but I cannot get 
past the Configure Zookeeper section. Whenever I try to run
server/scripts/cloud-scripts/zkcli.sh it says:
it says
-bash: server/scripts/cloud-scripts/zkcli.sh: Permission denied

I've tried using sudo server/...  but then it says:
sudo: server/scripts/cloud-scripts/zkcli.sh: command not found

What am I doing wrong? Any help getting this set up would be greatly 
appreciated.

Thanks,

Victor