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 969BA9FCE for ; Tue, 18 Oct 2011 01:43:27 +0000 (UTC) Received: (qmail 91416 invoked by uid 500); 18 Oct 2011 01:43:27 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 91381 invoked by uid 500); 18 Oct 2011 01:43:27 -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 91373 invoked by uid 99); 18 Oct 2011 01:43:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 01:43:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Tue, 18 Oct 2011 01:43:21 +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 p9I1gwJ6018577 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 17 Oct 2011 18:43:00 -0700 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: Replication configuration From: Jonathan Disher In-Reply-To: <36C1C0AF-74BE-40B6-9511-13DB51B78586@parad.net> Date: Mon, 17 Oct 2011 18:42:53 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8A436E75-553A-4521-AB57-D0870F03DC12@parad.net> References: <9C963E32-FCF0-4479-A5E7-DB936E2A3099@parad.net> <74D0033B-9892-451E-B4AD-B37E8A0FF494@parad.net> <36C1C0AF-74BE-40B6-9511-13DB51B78586@parad.net> To: users@directory.apache.org X-Mailer: Apple Mail (2.1251.1) OK, I'm kind of stumped. I have successfully built ApacheDS from trunk a couple of times, but = cannot get it deployed on my directory system. It installs, but refuses = to start, complaining about no schema present. Where do I get the = schema files from, or why are they not packaged up with the rest of = apaches when I build a package? -j On Oct 13, 2011, at 2:29 PM, Jonathan Disher wrote: > Yeah, kerberos failed, I commented it out because I don't run it. >=20 > I will let you know >=20 > -j > On Oct 13, 2011, at 11:54 AM, Jonathan Disher wrote: >=20 >> I built 1180264 (after much difficulty, getting deb packages to = build, so I could deploy it to my admin nodes), but can't get it to = start because things are missing, and unfortunately the documentation = for 2.0 is, well, nonexistent. Right now it's vomiting on the lack of = any schema ldif/structure being present. I am trying to not build = locally on the admin nodes, they need to remain clean and reproducible, = deployable binary packages are required (I need to build, at last count, = approx 13 replicas world wide). >>=20 >> I will svn up and rebuild, but I suspect that will not fix my schema = problems. Is there any 2.0 documentation in any functional state? >>=20 >> -j >>=20 >> On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote: >>=20 >>> the trunk is back to stable condition, you can svn up your local = copy >>> or checkout the head directly >>>=20 >>> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari = wrote: >>>> = http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies= >>>>=20 >>>> please checkout the revision 1180264 cause currently there are few >>>> changes that destabilized the trunk (should be back to normal in >>>> couple days) >>>>=20 >>>> Please let us know if you have any issues. >>>>=20 >>>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher = wrote: >>>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5. = Where do I check out the 2.0 tree? >>>>>=20 >>>>> -j >>>>>=20 >>>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote: >>>>>=20 >>>>>> 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 findings. >>>>>>=20 >>>>>> 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. >>>>>>>=20 >>>>>>> On Thu, Oct 6, 2011 at 2:57 PM, Jonathan Disher = wrote: >>>>>>>> Yes, I did. >>>>>>>>=20 >>>>>>>> Actually, I am getting this: >>>>>>>>=20 >>>>>>>> [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 >>>>>>>>=20 >>>>>>>> Permissions should be fine (it runs as root, I need to listen = on 389), so creating files shouldn't be a problem. >>>>>>>>=20 >>>>>>>> -j >>>>>>>>=20 >>>>>>>> On Oct 6, 2011, at 11:48 AM, Kiran Ayyagari wrote: >>>>>>>>=20 >>>>>>>>> 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 >>>>>>>>> -- >>>>>>>>> Kiran Ayyagari >>>>>>>>=20 >>>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> -- >>>>>>> Kiran Ayyagari >>>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> -- >>>>>> Kiran Ayyagari >>>>>=20 >>>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>> -- >>>> Kiran Ayyagari >>>>=20 >>>=20 >>>=20 >>>=20 >>> --=20 >>> Kiran Ayyagari