Re: upgrade from 3.4.5 to 3.5.6

2020-07-01 Thread kuldeep singh
1. sh zkCli.sh --config /etc/zookeeper -server localhost:2281 2. addauth ztpasswd zooadmin: Thanks, - Kuldeep Singh Budania On Thu, Jul 2, 2020 at 9:56 AM kuldeep singh wrote: > Hi Team, > > Any update on this? > > Thanks, > - > Kuldeep Singh Budania

Re: upgrade from 3.4.5 to 3.5.6

2020-07-01 Thread kuldeep singh
Hi Team, Any update on this? Thanks, - Kuldeep Singh Budania On Wed, Jul 1, 2020 at 6:43 PM kuldeep singh wrote: > Sorry this is my bad, there were server setting like below > > export SERVER_JVMFLAGS=" > > >

Re: ZK not starting during upgrade to use 3.6.1 with SSL communication

2020-07-01 Thread manu31
I have been getting the same error, can you share your zoo.cfg, is it the same as what you posted before? Also your ssl.quorum.keyStore/trustStore and ssl.keyStore/trustStore do they set to the same values? Do you need the client ssl information in the zoo.cfg? Do you need SERVER_JVMFLAGS set

Re: upgrade from 3.4.5 to 3.5.6

2020-07-01 Thread kuldeep singh
Sorry this is my bad, there were server setting like below export SERVER_JVMFLAGS=" -Dzookeeper.serverCnxnFactory=org.apache.zookeeper.server.NettyServerCnxnFactory -Dzookeeper.ssl.keyStore.location=/root/zookeeper/ssl/testKeyStore.jks -Dzookeeper.ssl.keyStore.password=testpass

Re: upgrade from 3.4.5 to 3.5.6

2020-07-01 Thread Szalay-Bekő Máté
> No authentication provider for scheme: ztpasswd has x509 ip digest* This suggest you have some configuration error... Where did you use the "ztpasswd" string in your configs / commands? On Wed, Jul 1, 2020 at 2:53 PM Szalay-Bekő Máté wrote: > > My ZK server is up and running in secure mode

Re: upgrade from 3.4.5 to 3.5.6

2020-07-01 Thread Szalay-Bekő Máté
> My ZK server is up and running in secure mode What is your goal? You want to setup client-server SSL connection? see: https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide (or you want to have both SSL and SASL enabled?) Anyway, please remove the following line from

Re: upgrade from 3.4.5 to 3.5.6

2020-07-01 Thread kuldeep singh
Hi, we have done below changes in java.env file export SERVER_JVMFLAGS=" -Dzookeeper.clientCnxnSocket=org.apache.zookeeper.ClientCnxnSocketNetty -Dzookeeper.ssl.keyStore.location=/root/zookeeper/ssl/testKeyStore.jks -Dzookeeper.ssl.keyStore.password=testpass

Re: upgrade from 3.4.5 to 3.5.6

2020-07-01 Thread kuldeep singh
Hi, My ZK server is up and running in secure mode, But When I am trying to connect to the ZK server using ZKCli, it gives the below error. WatchedEvent state:AuthFailed type:None path:null Zookeeper logs :- *2020-07-01 07:38:09,342 - WARN [nioEventLoopGroup-4-2:ZooKeeperServer@1119] - No