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 E401D1858D for ; Tue, 10 Nov 2015 18:40:05 +0000 (UTC) Received: (qmail 91111 invoked by uid 500); 10 Nov 2015 18:40:05 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 91062 invoked by uid 500); 10 Nov 2015 18:40:05 -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 91047 invoked by uid 99); 10 Nov 2015 18:40:04 -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 18:40:04 +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 81F7A180440 for ; Tue, 10 Nov 2015 18:40:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.991 X-Spam-Level: *** X-Spam-Status: No, score=3.991 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled 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 Yyl6JNeRdelV for ; Tue, 10 Nov 2015 18:39:58 +0000 (UTC) Received: from MG01.foundationmedicine.com (mg01.foundationmedicine.com [207.246.225.55]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id EB21E203C1 for ; Tue, 10 Nov 2015 18:39:57 +0000 (UTC) X-WSS-ID: 0NXM3UF-02-17M-02 X-TMWD-Spam-Summary: TS=20151110183952; ID=1; SEV=2.4.5; DFV=B2015111032; IFV=NA; AIF=B2015111032; RPD=NA; ENG=NA; RPDID=NA; CAT=NONE; CON=NONE; SIG=AAAAAAAAAAAAAAAAovK00wAAfQ== X-M-MSG: Received: from mail02.foundationmedicine.com (mail02.foundationmedicine.com [162.242.180.211]) ( using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by MG01.foundationmedicine.com (Postfix) with ESMTPS id 221763085FF2 for ; Tue, 10 Nov 2015 13:39:50 -0500 (EST) Received: from RS-EXCH1-529813.corp.local ([fe80::50:56ff:fe9a:5edc]) by RS-EXCH2-529823.corp.local ([fe80::50:56ff:fe9a:1759%13]) with mapi id 14.03.0195.001; Tue, 10 Nov 2015 12:39:22 -0600 From: "Mike Tod" To: "user@zookeeper.apache.org" Subject: ActiveMQ and Zookeeper leveldb issues Thread-Topic: ActiveMQ and Zookeeper leveldb issues Thread-Index: AdEb5f4G7ZHINGg+QBCO9WyTV3qChA== Date: Tue, 10 Nov 2015 18:38:49 +0000 Message-ID: <7A34475ECE8EEF4E854BD89ED397D2D5A01C3B30@RS-EXCH1-529813.corp.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.200.112.1] Content-Type: multipart/alternative; boundary=_000_7A34475ECE8EEF4E854BD89ED397D2D5A01C3B30RSEXCH1529813co_ MIME-Version: 1.0 --_000_7A34475ECE8EEF4E854BD89ED397D2D5A01C3B30RSEXCH1529813co_ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable I'm trying to setup an ActiveMQ Leveldb on a Redhat 3 node cluster. Quick question do I have to use Kerberos is there a simple authentication I= = can use for testing=3F I have ActiveMQ 5.12.1 & zookeeper 3.4.6 installed I'm trying to setup = LevelDB but I keep getting this error. INFO | Initiating client connection, = connectString=3Dappdev041.corp.local:2181,appdev042.corp.local:2181,appdev0= 43.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. My loging.config is configured : 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"; }; Client { com.sun.security.auth.module.Krb5LoginModule required useTicketCache=3Dtrue; }; My activemq.xml is set to: and To follow on I'm also getting : 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/Ob= ject;)Ljava/lang/Object; java.io.IOException: = com.google.common.base.Objects.firstNonNull(Ljava/lang/Object;Ljava/lang/Ob= ject;)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:55= 2)[activemq-leveldb-store-5.12.1.jar:5.12.1] at = org.apache.activemq.leveldb.LevelDBClient.replay_init(LevelDBClient.scala:6= 67)[activemq-leveldb-store-5.12.1.jar:5.12.1] at = org.apache.activemq.leveldb.LevelDBClient.start(LevelDBClient.scala:558)[ac= tivemq-leveldb-store-5.12.1.jar:5.12.1] at = org.apache.activemq.leveldb.DBManager.start(DBManager.scala:648)[activemq-l= eveldb-store-5.12.1.jar:5.12.1] at = org.apache.activemq.leveldb.LevelDBStore.doStart(LevelDBStore.scala:312)[ac= tivemq-leveldb-store-5.12.1.jar:5.12.1] at = org.apache.activemq.leveldb.replicated.MasterLevelDBStore.doStart(MasterLev= elDBStore.scala:110)[activemq-leveldb-store-5.12.1.jar:5.12.1] at = org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)[activ= emq-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-stor= e-5.12.1.jar:5.12.1] at = org.fusesource.hawtdispatch.package$$anon$4.run(hawtdispatch.scala:330)[haw= tdispatch-scala-2.11-1.21.jar:1.21] at = java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1= 145)[: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] Thanks Mike Tod mtod@foundationmedicine.com This communication and any files transmitted with it may contain informatio= n= 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 =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 o= =66= this communication is strictly prohibited. If you have received this = communication in error, please notify the sender immediately and delete thi= s= message immediately. Thank you for your cooperation. --_000_7A34475ECE8EEF4E854BD89ED397D2D5A01C3B30RSEXCH1529813co_--