Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A1E657AA0 for ; Fri, 7 Oct 2011 00:30:38 +0000 (UTC) Received: (qmail 17025 invoked by uid 500); 7 Oct 2011 00:30:38 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 16999 invoked by uid 500); 7 Oct 2011 00:30:38 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 16991 invoked by uid 99); 7 Oct 2011 00:30:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 00:30:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.210.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-iy0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 00:30:32 +0000 Received: by iabz21 with SMTP id z21so4834389iab.37 for ; Thu, 06 Oct 2011 17:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NWlcbHl/4DEBZ6CT4RabHuv+p19aGjoToJkiL4ZYOMI=; b=LoDD7uv1lLSEtIy+L/IiEkr+7JmcXFql2uA/9CD8+9QzvMyEJ1r4kGYZG/kx0KbC9P EWkPbDLDyPA75yKfFoBtmofQdRgKY/ZKLaTaszHphBtds3VkpLpgmiOUi0yFgoYsGYfK r7kblH87sMBSNaZQPyJE596cMIQvlX192vXJ0= MIME-Version: 1.0 Received: by 10.231.63.136 with SMTP id b8mr2278009ibi.43.1317947410883; Thu, 06 Oct 2011 17:30:10 -0700 (PDT) Sender: ayyagarikiran@gmail.com Received: by 10.231.39.198 with HTTP; Thu, 6 Oct 2011 17:30:10 -0700 (PDT) In-Reply-To: References: <9C963E32-FCF0-4479-A5E7-DB936E2A3099@parad.net> Date: Thu, 6 Oct 2011 20:30:10 -0400 X-Google-Sender-Auth: Bqulf5ZWgHHA01LZCZDM2ONJ3aY Message-ID: Subject: Re: Replication configuration From: Kiran Ayyagari To: users@directory.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org This has been fixed, please see https://issues.apache.org/jira/browse/DIRSERVER-1666 for the details. Appreciate if you can verify the fix and report your findi= ngs. On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari wrote= : > I confirm the presence of this issue, (which seems to be introduced > during some code cleanup) > will commit a fix in another 7 hours and let you know. > Thanks for the detailed trace. > > On Thu, Oct 6, 2011 at 2:57 PM, Jonathan Disher wrote= : >> Yes, I did. >> >> Actually, I am getting this: >> >> [18:55:46] ERROR [org.apache.directory.server.ldap.replication.provider.= SyncReplRequestHandler] - Failed to initialize the log files required by th= e syncrepl provider >> java.lang.NullPointerException >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.replication.provider.= SyncReplSearchListener.(SyncReplSearchListener.java:98) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.replication.provider.= SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.ja= va:929) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.replication.provider.= SyncReplRequestHandler.start(SyncReplRequestHandler.java:171) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.LdapServer.startRepli= cationProducer(LdapServer.java:506) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.LdapServer.start(Ldap= Server.java:488) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ApacheDsService.startLdap(= ApacheDsService.java:374) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ApacheDsService.start(Apac= heDsService.java:174) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ApacheDsTanukiWrapper.star= t(ApacheDsTanukiWrapper.java:71) >> =A0 =A0 =A0 =A0at org.tanukisoftware.wrapper.WrapperManager$12.run(Wrapp= erManager.java:2788) >> [18:55:46] ERROR [PROVIDER_LOG] - Failed to initialize the log files req= uired by the syncrepl provider >> java.lang.NullPointerException >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.replication.provider.= SyncReplSearchListener.(SyncReplSearchListener.java:98) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.replication.provider.= SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.ja= va:929) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.replication.provider.= SyncReplRequestHandler.start(SyncReplRequestHandler.java:171) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.LdapServer.startRepli= cationProducer(LdapServer.java:506) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ldap.LdapServer.start(Ldap= Server.java:488) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ApacheDsService.startLdap(= ApacheDsService.java:374) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ApacheDsService.start(Apac= heDsService.java:174) >> =A0 =A0 =A0 =A0at org.apache.directory.server.ApacheDsTanukiWrapper.star= t(ApacheDsTanukiWrapper.java:71) >> =A0 =A0 =A0 =A0at org.tanukisoftware.wrapper.WrapperManager$12.run(Wrapp= erManager.java:2788) >> [18:55:46] ERROR [org.apache.directory.server.ApacheDsService] - Cannot = start the server : java.lang.NullPointerException >> [18:56:42] WARN [org.apache.directory.server.ldap.handlers.SearchHandler= ] - This server does not allow replication >> >> Permissions should be fine (it runs as root, I need to listen on 389), s= o creating files shouldn't be a problem. >> >> -j >> >> On Oct 6, 2011, at 11:48 AM, Kiran Ayyagari wrote: >> >>> did you add the attribute 'ads-replReqHandler' and restarted the server= ? >>> >>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher wro= te: >>>> So, I did, and I followed the directions. =A0I get this on my slave: >>>> >>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandl= er] - This server does not allow replication >>>> >>>> I'm kind of confused. =A0It should, I told it to! >>>> >>>> -j >>>> >>>> On Oct 5, 2011, at 12:36 PM, Kiran Ayyagari wrote: >>>> >>>>> take a look at this mail thread http://markmail.org/message/s4w6dvizv= wdbxewr >>>>> >>>>> HTH >>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher w= rote: >>>>>> It is my understanding that replication works in ApacheDS 2.0.0-M3 -= is this correct? =A0If so, can anyone point me in the direction of some co= nfiguration instructions? >>>>>> >>>>>> I am not doing anything overly fancy like N-way multi master, I just= need one master and a bunch of localized slaves. >>>>>> >>>>>> Thanks! >>>>>> >>>>>> -j >>>>> >>>>> >>>>> >>>>> -- >>>>> Kiran Ayyagari >>>> >>>> >>> >>> >>> >>> -- >>> Kiran Ayyagari >> >> > > > > -- > Kiran Ayyagari > --=20 Kiran Ayyagari