Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B78718228 for ; Tue, 10 Nov 2015 22:29:15 +0000 (UTC) Received: (qmail 26207 invoked by uid 500); 10 Nov 2015 22:29:09 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 26158 invoked by uid 500); 10 Nov 2015 22:29:09 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 26146 invoked by uid 99); 10 Nov 2015 22:29:09 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 22:29:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id ABEBC180440 for ; Tue, 10 Nov 2015 22:29:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.87 X-Spam-Level: ** X-Spam-Status: No, score=2.87 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7q-qzd3fw1XD for ; Tue, 10 Nov 2015 22:28:58 +0000 (UTC) Received: from nm15.bullet.mail.bf1.yahoo.com (nm15.bullet.mail.bf1.yahoo.com [98.139.212.174]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id DE58521277 for ; Tue, 10 Nov 2015 22:28:57 +0000 (UTC) Received: from [66.196.81.173] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 10 Nov 2015 22:28:51 -0000 Received: from [98.139.211.207] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 10 Nov 2015 22:28:51 -0000 Received: from [127.0.0.1] by smtp216.mail.bf1.yahoo.com with NNFMP; 10 Nov 2015 22:28:51 -0000 X-Yahoo-Newman-Id: 145467.9537.bm@smtp216.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pP69PRAVM1ngrxHRAgWfwW1ndYz5.NPN2Y3hiIranCXgbD7 m78Q.p9sByk1AyNE08oKV.vV3wTjN6tO8xTws8Z9PIjEo9nH6vfSwSqezxZv Arc8xu440eBNMH4QoHY3hLwSGlUsqQsNYkAB8BMoSCeAPKSRZPYbWBRQnjM5 NvcPItnJ4OW0gshL6lLIoZYRgN_HzU1d_7ksBUuWyGNj6hTi9tm05vh2oIUq I5a07N5yWk4OvvuyGK.kB_78Xx.YVhq47nIsYyPswM9Z.WeOotQBoPj5zCql Y8WMUxd.sTS6q3MxYoHrK19mjXpgw7RdS0IUj2KKZSxLCsalK7xbv8214oD8 0i0P2af_TaQ78hB8_rPbXmgWBQMg3YXDdmDOOARU5q_8dShIyly5DmcaAw14 WrwVbbJWBO5R8kUDZ4WZXHJbJd3ooqhupuoLncSjxIc3uFBx4DMWxuo2frgu 4XKF4TvMu7gYIQB7ARz_OQeb6QO4uiasJl7ibXeKCwo8ErjtiuaZyLZxey5Z uNNVj0t9XpI7bD1KFVTNBKV8eQg-- X-Yahoo-SMTP: HT5UJDeswBACWJPOeualxAa.da..S.fl From: Flavio Junqueira Content-Type: multipart/alternative; boundary="Apple-Mail=_222D17BC-163A-4339-B943-AD7EEC4BDE00" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: ActiveMQ and Zookeeper leveldb issues Date: Tue, 10 Nov 2015 22:28:48 +0000 References: <7A34475ECE8EEF4E854BD89ED397D2D5A01C3B30@RS-EXCH1-529813.corp.local> To: user@zookeeper.apache.org In-Reply-To: <7A34475ECE8EEF4E854BD89ED397D2D5A01C3B30@RS-EXCH1-529813.corp.local> X-Mailer: Apple Mail (2.2104) --Apple-Mail=_222D17BC-163A-4339-B943-AD7EEC4BDE00 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Mike, See if the information here helps you: https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zookeeper+and+SASL = = If you are using SASL, then I'm pretty sure you'll need some more info = in that Client section. -Flavio > On 10 Nov 2015, at 18:38, Mike Tod = wrote: >=20 > I'm trying to setup an ActiveMQ Leveldb on a Redhat 3 node cluster. >=20 > Quick question do I have to use Kerberos is there a simple = authentication I can use for testing? >=20 >=20 > I have ActiveMQ 5.12.1 & zookeeper 3.4.6 installed I'm trying to setup = LevelDB but I keep getting this error. >=20 > INFO | Initiating client connection, = connectString=3Dappdev041.corp.local:2181,appdev042.corp.local:2181,appdev= 043.corp.local:2181 sessionTimeout=3D2000 = watcher=3Dorg.apache.activemq.leveldb.replicated.groups.ZKClient@745e3cad > WARN | Could not login: the client is being asked for a password, but = the Zookeeper client code does not currently support obtaining a = password from the user. Make sure that the client is configured to use a = ticket cache (using the JAAS configuration setting = 'useTicketCache=3Dtrue)' and restart the client. If you still get this = message after that, the TGT in the ticket cache has expired and must be = manually refreshed. To do so, first determine if you are using a = password or a keytab. If the former, run kinit in a Unix shell in the = environment of the user who is running this Zookeeper client using the = command 'kinit ' (where is the name of the client's = Kerberos principal). If the latter, do 'kinit -k -t ' = (where is the name of the Kerberos principal, and is = the location of the keytab file). After manually refreshing your cache, = restart this client. If you continue to see this message after manually = refreshing your cache, ensure that your KDC host's clock is in sync with = this host's clock. > WARN | SASL configuration failed: = javax.security.auth.login.LoginException: No password provided Will = continue connection to Zookeeper server without SASL authentication, if = Zookeeper server allows it. >=20 > My loging.config is configured : >=20 > activemq-domain { > org.apache.activemq.jaas.PropertiesLoginModule required > org.apache.activemq.jaas.properties.user=3D"users.properties" > org.apache.activemq.jaas.properties.group=3D"groups.properties"; > }; >=20 > Client { > com.sun.security.auth.module.Krb5LoginModule required > useTicketCache=3Dtrue; > }; >=20 > My activemq.xml is set to: >=20 > >=20 > and >=20 > > > >=20 > To follow on I'm also getting : >=20 > INFO | Using the pure java LevelDB implementation. > INFO | Ignoring IO exception, java.io.IOException: = com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/O= bject;)Ljava/lang/Object; > java.io.IOException: = com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/O= bject;)Ljava/lang/Object; > at = org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java= :39)[activemq-client-5.12.1.jar:5.12.1] > at = org.apache.activemq.leveldb.LevelDBClient.might_fail(LevelDBClient.scala:5= 52)[activemq-leveldb-store-5.12.1.jar:5.12.1] > at = org.apache.activemq.leveldb.LevelDBClient.replay_init(LevelDBClient.scala:= 667)[activemq-leveldb-store-5.12.1.jar:5.12.1] > at = org.apache.activemq.leveldb.LevelDBClient.start(LevelDBClient.scala:558)[a= ctivemq-leveldb-store-5.12.1.jar:5.12.1] > at = org.apache.activemq.leveldb.DBManager.start(DBManager.scala:648)[activemq-= leveldb-store-5.12.1.jar:5.12.1] > at = org.apache.activemq.leveldb.LevelDBStore.doStart(LevelDBStore.scala:312)[a= ctivemq-leveldb-store-5.12.1.jar:5.12.1] > at = org.apache.activemq.leveldb.replicated.MasterLevelDBStore.doStart(MasterLe= velDBStore.scala:110)[activemq-leveldb-store-5.12.1.jar:5.12.1] > at = org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)[acti= vemq-client-5.12.1.jar:5.12.1] > at = org.apache.activemq.leveldb.replicated.ElectingLevelDBStore$$anonfun$start= _master$1.apply$mcV$sp(ElectingLevelDBStore.scala:230)[activemq-leveldb-st= ore-5.12.1.jar:5.12.1] > at = org.fusesource.hawtdispatch.package$$anon$4.run(hawtdispatch.scala:330)[ha= wtdispatch-scala-2.11-1.21.jar:1.21] > at = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:= 1145)[:1.7.0_85] > at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :615)[:1.7.0_85] > at java.lang.Thread.run(Thread.java:745)[:1.7.0_85] > INFO | Stopped = LevelDB[/opt/activemq/apache-activemq-5.12.1/bin/activemq-data] >=20 > Thanks >=20 > Mike Tod > mtod@foundationmedicine.com >=20 >=20 > This communication and any files transmitted with it may contain = information that is considered to be confidential, privileged and exempt = from disclosure under applicable law. This message is intended for = Foundation Medicine-affiliated use and that of the intended recipient = only and may contain information that is protected by Foundation = Medicine policies and the HIPAA Privacy Rule, 45 CFR =C2=A7 164.500. = This communication is intended solely for the use of intended recipient. = If you are not the intended recipient, you are hereby notified that any = use, dissemination or copying of this communication is strictly = prohibited. If you have received this communication in error, please = notify the sender immediately and delete this message immediately. Thank = you for your cooperation. --Apple-Mail=_222D17BC-163A-4339-B943-AD7EEC4BDE00--