From users-return-4119-apmail-directory-users-archive=directory.apache.org@directory.apache.org Thu Oct 6 18:58:34 2011 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 CB7007953 for ; Thu, 6 Oct 2011 18:58:34 +0000 (UTC) Received: (qmail 3412 invoked by uid 500); 6 Oct 2011 18:58:34 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 3340 invoked by uid 500); 6 Oct 2011 18:58:34 -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 3332 invoked by uid 99); 6 Oct 2011 18:58:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 18:58:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jdisher@parad.net designates 72.13.95.234 as permitted sender) Received: from [72.13.95.234] (HELO floo.parad.net) (72.13.95.234) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 18:58:27 +0000 Received: from [172.16.100.100] ([216.38.138.35]) (authenticated bits=0) by floo.parad.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id p96Iw4xS024898 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Thu, 6 Oct 2011 11:58:05 -0700 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1250.3) Subject: Re: Replication configuration From: Jonathan Disher In-Reply-To: Date: Thu, 6 Oct 2011 11:57:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9C963E32-FCF0-4479-A5E7-DB936E2A3099@parad.net> To: users@directory.apache.org X-Mailer: Apple Mail (2.1250.3) X-Virus-Checked: Checked by ClamAV on apache.org Yes, I did. Actually, I am getting this: [18:55:46] ERROR = [org.apache.directory.server.ldap.replication.provider.SyncReplRequestHand= ler] - Failed to initialize the log files required by the syncrepl = provider java.lang.NullPointerException at = org.apache.directory.server.ldap.replication.provider.SyncReplSearchListen= er.(SyncReplSearchListener.java:98) at = org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandl= er.registerPersistentSearches(SyncReplRequestHandler.java:929) at = org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandl= er.start(SyncReplRequestHandler.java:171) at = org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapS= erver.java:506) at = org.apache.directory.server.ldap.LdapServer.start(LdapServer.java:488) at = org.apache.directory.server.ApacheDsService.startLdap(ApacheDsService.java= :374) at = org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:174= ) at = org.apache.directory.server.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrap= per.java:71) at = org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)= [18:55:46] ERROR [PROVIDER_LOG] - Failed to initialize the log files = required by the syncrepl provider java.lang.NullPointerException at = org.apache.directory.server.ldap.replication.provider.SyncReplSearchListen= er.(SyncReplSearchListener.java:98) at = org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandl= er.registerPersistentSearches(SyncReplRequestHandler.java:929) at = org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandl= er.start(SyncReplRequestHandler.java:171) at = org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapS= erver.java:506) at = org.apache.directory.server.ldap.LdapServer.start(LdapServer.java:488) at = org.apache.directory.server.ApacheDsService.startLdap(ApacheDsService.java= :374) at = org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:174= ) at = org.apache.directory.server.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrap= per.java:71) at = org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.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), = so 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? >=20 > On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher = wrote: >> So, I did, and I followed the directions. I get this on my slave: >>=20 >> [18:37:13] WARN = [org.apache.directory.server.ldap.handlers.SearchHandler] - This server = does not allow replication >>=20 >> I'm kind of confused. It should, I told it to! >>=20 >> -j >>=20 >> On Oct 5, 2011, at 12:36 PM, Kiran Ayyagari wrote: >>=20 >>> take a look at this mail thread = http://markmail.org/message/s4w6dvizvwdbxewr >>>=20 >>> HTH >>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher = wrote: >>>> It is my understanding that replication works in ApacheDS 2.0.0-M3 = - is this correct? If so, can anyone point me in the direction of some = configuration instructions? >>>>=20 >>>> I am not doing anything overly fancy like N-way multi master, I = just need one master and a bunch of localized slaves. >>>>=20 >>>> Thanks! >>>>=20 >>>> -j >>>=20 >>>=20 >>>=20 >>> -- >>> Kiran Ayyagari >>=20 >>=20 >=20 >=20 >=20 > --=20 > Kiran Ayyagari