You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Jonathan Disher <jd...@parad.net> on 2011/10/05 21:34:08 UTC

Replication configuration

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?

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

Re: Replication configuration

Posted by William Jimenez <wj...@appdynamics.com>.
That would be very helpful for me too, I saw documentation for the
mitosis component of ApacheDS, but was still having trouble making it work.

Thanks

On Wed, Oct 5, 2011 at 12:34 PM, Jonathan Disher <jd...@parad.net> 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?
>
> 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

Re: Replication configuration

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Thanks. Nothing that fancy or very different from what we using/testing for.

Please let us know if you're still having issues building the current trunk or generating a working deb file.

Regards,
Pierre-Arnaud


On 19 oct. 2011, at 16:28, Jonathan Disher wrote:

> I am building on a vm running Ubuntu 10.10, with the latest available Sun JDK (6_26 if memory serves), and I downloaded the latest maven (3.0.2?) binaries from the maven page. I am installing to physical machines running the same config (but usually jre instead of jdk).
> 
> -j
> 
> Sent from my iPhone
> 
> On Oct 18, 2011, at 1:57 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
> 
>> On 18 oct. 2011, at 04:29, Jonathan Disher wrote:
>>> 1) Is there any documentation for building ApacheDS 2.0.0 from trunk?  All the docs I find are talking about 1.5, and nothing I find seems to build anything complete and correct enough to get running.
>> 
>> No documentation for building ApacheDS 2.0 yet. But there are very minor changes to the previous versions.
>> Of course, the projects hierarchy have changed, but 'mvn clean install' should do the trick.
>> If you don't want to run the tests, use 'mvn clean install -Dmaven.test.skip'.
>> If you want installers to be packaged at the end of the build, use the 'installers' profile ('mvn clean install -Pinstallers').
>> 
>> Can I get more information about your setup?
>> Kind of machine?
>> JVM vendor and version?
>> Maven version?
>> 
>> Thanks!
>> 
>>> 2) When can I expect to see the official M4 build packages show up online?
>> 
>> 2.0.0-M4 has not been voted yet. It will probably be voted after we finish the work on OSGI and the backend.
>> 
>> Regards,
>> Pierre-Arnaud


Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
I am building on a vm running Ubuntu 10.10, with the latest available Sun JDK (6_26 if memory serves), and I downloaded the latest maven (3.0.2?) binaries from the maven page. I am installing to physical machines running the same config (but usually jre instead of jdk).

-j

Sent from my iPhone

On Oct 18, 2011, at 1:57 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:

> On 18 oct. 2011, at 04:29, Jonathan Disher wrote:
>> 1) Is there any documentation for building ApacheDS 2.0.0 from trunk?  All the docs I find are talking about 1.5, and nothing I find seems to build anything complete and correct enough to get running.
> 
> No documentation for building ApacheDS 2.0 yet. But there are very minor changes to the previous versions.
> Of course, the projects hierarchy have changed, but 'mvn clean install' should do the trick.
> If you don't want to run the tests, use 'mvn clean install -Dmaven.test.skip'.
> If you want installers to be packaged at the end of the build, use the 'installers' profile ('mvn clean install -Pinstallers').
> 
> Can I get more information about your setup?
> Kind of machine?
> JVM vendor and version?
> Maven version?
> 
> Thanks!
> 
>> 2) When can I expect to see the official M4 build packages show up online?
> 
> 2.0.0-M4 has not been voted yet. It will probably be voted after we finish the work on OSGI and the backend.
> 
> Regards,
> Pierre-Arnaud

Re: Replication configuration

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
On 18 oct. 2011, at 04:29, Jonathan Disher wrote:
> 1) Is there any documentation for building ApacheDS 2.0.0 from trunk?  All the docs I find are talking about 1.5, and nothing I find seems to build anything complete and correct enough to get running.

No documentation for building ApacheDS 2.0 yet. But there are very minor changes to the previous versions.
Of course, the projects hierarchy have changed, but 'mvn clean install' should do the trick.
If you don't want to run the tests, use 'mvn clean install -Dmaven.test.skip'.
If you want installers to be packaged at the end of the build, use the 'installers' profile ('mvn clean install -Pinstallers').

Can I get more information about your setup?
Kind of machine?
JVM vendor and version?
Maven version?

Thanks!

> 2) When can I expect to see the official M4 build packages show up online?

2.0.0-M4 has not been voted yet. It will probably be voted after we finish the work on OSGI and the backend.

Regards,
Pierre-Arnaud

Re: Replication configuration

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Done.

The issue with the password policy class is fixed at revision 1185533.
http://svn.apache.org/viewvc?view=revision&revision=1185533

If you don't want to rebuild the packages, you can modify the '/conf/wrapper.conf' file by hand.

Regards,
Pierre-Arnaud


On 18 oct. 2011, at 09:26, Pierre-Arnaud Marcelot wrote:

> Hi Jonathan,
> 
> There have been recently major refactoring at the core of ApacheDS as we're trying to improve the backend and move it to OSGI as well.
> It required us a few packages renamings and some classes being moved.
> A few references might have stayed in some text files (like schema files) with a wrong class name.
> 
> I'll have a look at your issue this morning.
> 
> Regards,
> Pierre-Arnaud
> 
> On 18 oct. 2011, at 04:29, Jonathan Disher wrote:
> 
>> I managed to get the base schema files copied over, but now it vomits with new errors.
>> 
>> root@admin1.sjc1.eng:/var/lib/apacheds-2.0.0-M4-SNAPSHOT/default/log# cat apacheds.log 
>> [02:25:59] ERROR [org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory] - Failed to instantiate a viable instance, instantiating new instance of 
>> java.lang.ClassNotFoundException: org.apache.directory.shared.ldap.extras.controls.ppolicy.PasswordPolicyFactory
>> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> 	at java.security.AccessController.doPrivileged(Native Method)
>> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>> 	at java.lang.Class.forName0(Native Method)
>> 	at java.lang.Class.forName(Class.java:169)
>> 	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.loadExtraControls(StandaloneLdapApiService.java:249)
>> 	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.loadControls(StandaloneLdapApiService.java:203)
>> 	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.<init>(StandaloneLdapApiService.java:164)
>> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> 	at java.lang.Class.newInstance0(Class.java:355)
>> 	at java.lang.Class.newInstance(Class.java:308)
>> 	at org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory.initialize(LdapApiServiceFactory.java:128)
>> 	at org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory.getSingleton(LdapApiServiceFactory.java:89)
>> 	at org.apache.directory.server.core.DefaultDirectoryService.<init>(DefaultDirectoryService.java:138)
>> 	at org.apache.directory.server.config.builder.ServiceBuilder.createDirectoryService(ServiceBuilder.java:1258)
>> 	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:294)
>> 	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:175)
>> 	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
>> 	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
>> [02:26:00] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start the service.
>> org.apache.directory.shared.ldap.model.exception.LdapOtherException
>> 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:76)
>> 	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1576)
>> 	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1006)
>> 	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:307)
>> 	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:175)
>> 	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
>> 	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
>> Caused by: java.lang.NullPointerException
>> 	at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:204)
>> 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:71)
>> 	... 6 more
>> 
>> I guess I really have two questions right now:
>> 
>> 1) Is there any documentation for building ApacheDS 2.0.0 from trunk?  All the docs I find are talking about 1.5, and nothing I find seems to build anything complete and correct enough to get running.
>> 2) When can I expect to see the official M4 build packages show up online?
>> 
>> I would love to be able to build from trunk, and I would love to be able to use ApacheDS, but I've burned about a week on this so far, with nothing functioning, and I have actual production need :(
>> 
>> Any help is appreciated, thanks.
>> 
>> -j
>> 
>> On Oct 17, 2011, at 6:42 PM, Jonathan Disher wrote:
>> 
>>> 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.
>>>> 
>>>> I will let you know
>>>> 
>>>> -j
>>>> On Oct 13, 2011, at 11:54 AM, Jonathan Disher wrote:
>>>> 
>>>>> 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).
>>>>> 
>>>>> 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?
>>>>> 
>>>>> -j
>>>>> 
>>>>> On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote:
>>>>> 
>>>>>> the trunk is back to stable condition, you can svn up your local copy
>>>>>> or checkout the head directly
>>>>>> 
>>>>>> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
>>>>>>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>>>>>>> 
>>>>>>> please checkout the revision 1180264 cause currently there are few
>>>>>>> changes that destabilized the trunk (should be back to normal in
>>>>>>> couple days)
>>>>>>> 
>>>>>>> Please let us know if you have any issues.
>>>>>>> 
>>>>>>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>>>>>>> 
>>>>>>>> -j
>>>>>>>> 
>>>>>>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>>>>>>> 
>>>>>>>>> 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.
>>>>>>>>> 
>>>>>>>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>>>>>>>> java.lang.NullPointerException
>>>>>>>>>>>   at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>>>>   at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>>>>   at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>>>>   at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>>>>   at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>>>>   at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>>>>   at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>>>>>>> 
>>>>>>>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> HTH
>>>>>>>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 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
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> Kiran Ayyagari
>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Kiran Ayyagari
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> Kiran Ayyagari
>> 
> 


Re: Replication configuration

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Jonathan,

There have been recently major refactoring at the core of ApacheDS as we're trying to improve the backend and move it to OSGI as well.
It required us a few packages renamings and some classes being moved.
A few references might have stayed in some text files (like schema files) with a wrong class name.

I'll have a look at your issue this morning.

Regards,
Pierre-Arnaud

On 18 oct. 2011, at 04:29, Jonathan Disher wrote:

> I managed to get the base schema files copied over, but now it vomits with new errors.
> 
> root@admin1.sjc1.eng:/var/lib/apacheds-2.0.0-M4-SNAPSHOT/default/log# cat apacheds.log 
> [02:25:59] ERROR [org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory] - Failed to instantiate a viable instance, instantiating new instance of 
> java.lang.ClassNotFoundException: org.apache.directory.shared.ldap.extras.controls.ppolicy.PasswordPolicyFactory
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:169)
> 	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.loadExtraControls(StandaloneLdapApiService.java:249)
> 	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.loadControls(StandaloneLdapApiService.java:203)
> 	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.<init>(StandaloneLdapApiService.java:164)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 	at java.lang.Class.newInstance0(Class.java:355)
> 	at java.lang.Class.newInstance(Class.java:308)
> 	at org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory.initialize(LdapApiServiceFactory.java:128)
> 	at org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory.getSingleton(LdapApiServiceFactory.java:89)
> 	at org.apache.directory.server.core.DefaultDirectoryService.<init>(DefaultDirectoryService.java:138)
> 	at org.apache.directory.server.config.builder.ServiceBuilder.createDirectoryService(ServiceBuilder.java:1258)
> 	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:294)
> 	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:175)
> 	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
> 	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
> [02:26:00] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start the service.
> org.apache.directory.shared.ldap.model.exception.LdapOtherException
> 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:76)
> 	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1576)
> 	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1006)
> 	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:307)
> 	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:175)
> 	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
> 	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
> Caused by: java.lang.NullPointerException
> 	at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:204)
> 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:71)
> 	... 6 more
> 
> I guess I really have two questions right now:
> 
> 1) Is there any documentation for building ApacheDS 2.0.0 from trunk?  All the docs I find are talking about 1.5, and nothing I find seems to build anything complete and correct enough to get running.
> 2) When can I expect to see the official M4 build packages show up online?
> 
> I would love to be able to build from trunk, and I would love to be able to use ApacheDS, but I've burned about a week on this so far, with nothing functioning, and I have actual production need :(
> 
> Any help is appreciated, thanks.
> 
> -j
> 
> On Oct 17, 2011, at 6:42 PM, Jonathan Disher wrote:
> 
>> 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.
>>> 
>>> I will let you know
>>> 
>>> -j
>>> On Oct 13, 2011, at 11:54 AM, Jonathan Disher wrote:
>>> 
>>>> 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).
>>>> 
>>>> 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?
>>>> 
>>>> -j
>>>> 
>>>> On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote:
>>>> 
>>>>> the trunk is back to stable condition, you can svn up your local copy
>>>>> or checkout the head directly
>>>>> 
>>>>> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
>>>>>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>>>>>> 
>>>>>> please checkout the revision 1180264 cause currently there are few
>>>>>> changes that destabilized the trunk (should be back to normal in
>>>>>> couple days)
>>>>>> 
>>>>>> Please let us know if you have any issues.
>>>>>> 
>>>>>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>>>>>> 
>>>>>>> -j
>>>>>>> 
>>>>>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>>>>>> 
>>>>>>>> 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.
>>>>>>>> 
>>>>>>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>>>>>>> java.lang.NullPointerException
>>>>>>>>>>    at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>>>    at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>>>    at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>>>    at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>>>    at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>>>    at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>>>    at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>>>>>> 
>>>>>>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>>>>>> 
>>>>>>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>>>>>> 
>>>>>>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>>>>>> 
>>>>>>>>>>>>> HTH
>>>>>>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 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
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Kiran Ayyagari
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Kiran Ayyagari
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Kiran Ayyagari
> 


Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
I managed to get the base schema files copied over, but now it vomits with new errors.

root@admin1.sjc1.eng:/var/lib/apacheds-2.0.0-M4-SNAPSHOT/default/log# cat apacheds.log 
[02:25:59] ERROR [org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory] - Failed to instantiate a viable instance, instantiating new instance of 
java.lang.ClassNotFoundException: org.apache.directory.shared.ldap.extras.controls.ppolicy.PasswordPolicyFactory
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.loadExtraControls(StandaloneLdapApiService.java:249)
	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.loadControls(StandaloneLdapApiService.java:203)
	at org.apache.directory.shared.ldap.codec.standalone.StandaloneLdapApiService.<init>(StandaloneLdapApiService.java:164)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory.initialize(LdapApiServiceFactory.java:128)
	at org.apache.directory.shared.ldap.codec.api.LdapApiServiceFactory.getSingleton(LdapApiServiceFactory.java:89)
	at org.apache.directory.server.core.DefaultDirectoryService.<init>(DefaultDirectoryService.java:138)
	at org.apache.directory.server.config.builder.ServiceBuilder.createDirectoryService(ServiceBuilder.java:1258)
	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:294)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:175)
	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
[02:26:00] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start the service.
org.apache.directory.shared.ldap.model.exception.LdapOtherException
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:76)
	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1576)
	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1006)
	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:307)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:175)
	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
Caused by: java.lang.NullPointerException
	at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:204)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:71)
	... 6 more

I guess I really have two questions right now:

1) Is there any documentation for building ApacheDS 2.0.0 from trunk?  All the docs I find are talking about 1.5, and nothing I find seems to build anything complete and correct enough to get running.
2) When can I expect to see the official M4 build packages show up online?

I would love to be able to build from trunk, and I would love to be able to use ApacheDS, but I've burned about a week on this so far, with nothing functioning, and I have actual production need :(

Any help is appreciated, thanks.

-j

On Oct 17, 2011, at 6:42 PM, Jonathan Disher wrote:

> 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.
>> 
>> I will let you know
>> 
>> -j
>> On Oct 13, 2011, at 11:54 AM, Jonathan Disher wrote:
>> 
>>> 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).
>>> 
>>> 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?
>>> 
>>> -j
>>> 
>>> On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote:
>>> 
>>>> the trunk is back to stable condition, you can svn up your local copy
>>>> or checkout the head directly
>>>> 
>>>> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
>>>>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>>>>> 
>>>>> please checkout the revision 1180264 cause currently there are few
>>>>> changes that destabilized the trunk (should be back to normal in
>>>>> couple days)
>>>>> 
>>>>> Please let us know if you have any issues.
>>>>> 
>>>>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>>>>> 
>>>>>> -j
>>>>>> 
>>>>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>>>>> 
>>>>>>> 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.
>>>>>>> 
>>>>>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>>>>>> java.lang.NullPointerException
>>>>>>>>>     at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>>     at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>>     at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>>     at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>>     at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>>     at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>>     at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>>>>> 
>>>>>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>>>>> 
>>>>>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>>>>> 
>>>>>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>>>>> 
>>>>>>>>>>>> HTH
>>>>>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 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
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Kiran Ayyagari
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Kiran Ayyagari
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Kiran Ayyagari


Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
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.
> 
> I will let you know
> 
> -j
> On Oct 13, 2011, at 11:54 AM, Jonathan Disher wrote:
> 
>> 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).
>> 
>> 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?
>> 
>> -j
>> 
>> On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote:
>> 
>>> the trunk is back to stable condition, you can svn up your local copy
>>> or checkout the head directly
>>> 
>>> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
>>>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>>>> 
>>>> please checkout the revision 1180264 cause currently there are few
>>>> changes that destabilized the trunk (should be back to normal in
>>>> couple days)
>>>> 
>>>> Please let us know if you have any issues.
>>>> 
>>>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>>>> 
>>>>> -j
>>>>> 
>>>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>>>> 
>>>>>> 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.
>>>>>> 
>>>>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>>>>> java.lang.NullPointerException
>>>>>>>>      at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>      at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>      at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>      at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>>      at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>>      at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>>      at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>>>> 
>>>>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>>>> 
>>>>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>>>> 
>>>>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>>>> 
>>>>>>>>>>> HTH
>>>>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>>>> 
>>>>>>>>>>>> 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
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Kiran Ayyagari
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Kiran Ayyagari
>>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Kiran Ayyagari


Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
Yeah, kerberos failed, I commented it out because I don't run it.

I will let you know

-j
On Oct 13, 2011, at 11:54 AM, Jonathan Disher wrote:

> 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).
> 
> 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?
> 
> -j
> 
> On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote:
> 
>> the trunk is back to stable condition, you can svn up your local copy
>> or checkout the head directly
>> 
>> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
>>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>>> 
>>> please checkout the revision 1180264 cause currently there are few
>>> changes that destabilized the trunk (should be back to normal in
>>> couple days)
>>> 
>>> Please let us know if you have any issues.
>>> 
>>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>>> 
>>>> -j
>>>> 
>>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>>> 
>>>>> 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.
>>>>> 
>>>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>>>> java.lang.NullPointerException
>>>>>>>       at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>       at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>       at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>       at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>       at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>       at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>       at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>>> 
>>>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>>> 
>>>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>>> 
>>>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>>> 
>>>>>>>>>> HTH
>>>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>>> 
>>>>>>>>>>> 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
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Kiran Ayyagari
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Kiran Ayyagari
>>> 
>> 
>> 
>> 
>> -- 
>> Kiran Ayyagari


Re: Replication configuration

Posted by Kiran Ayyagari <ka...@apache.org>.
On Thu, Oct 13, 2011 at 2:54 PM, Jonathan Disher <jd...@parad.net> wrote:
> 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).
>
> 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?
>
please give a try after doing svn up (I confirm that server starts up
fine, tested with the archive installer)
Note that you can safely ignore even if there are kerberos test
failures which maven reports like

"ApacheDS Protocol Kerberos Test ................... FAILURE"

let us know if you have any issues

> -j
>
> On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote:
>
>> the trunk is back to stable condition, you can svn up your local copy
>> or checkout the head directly
>>
>> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
>>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>>>
>>> please checkout the revision 1180264 cause currently there are few
>>> changes that destabilized the trunk (should be back to normal in
>>> couple days)
>>>
>>> Please let us know if you have any issues.
>>>
>>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>>>
>>>> -j
>>>>
>>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>>>
>>>>> 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.
>>>>>
>>>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>>>> java.lang.NullPointerException
>>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>>>
>>>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>>>
>>>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>>>
>>>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>>>
>>>>>>>>>> HTH
>>>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>>>
>>>>>>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Kiran Ayyagari
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Kiran Ayyagari
>>>
>>
>>
>>
>> --
>> Kiran Ayyagari
>
>



-- 
Kiran Ayyagari

Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
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).

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?

-j

On Oct 11, 2011, at 1:24 PM, Kiran Ayyagari wrote:

> the trunk is back to stable condition, you can svn up your local copy
> or checkout the head directly
> 
> On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
>> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>> 
>> please checkout the revision 1180264 cause currently there are few
>> changes that destabilized the trunk (should be back to normal in
>> couple days)
>> 
>> Please let us know if you have any issues.
>> 
>> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>> 
>>> -j
>>> 
>>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>> 
>>>> 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.
>>>> 
>>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>>> java.lang.NullPointerException
>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>> 
>>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>> 
>>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>> 
>>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>> 
>>>>>>>>> HTH
>>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>> 
>>>>>>>>>> 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
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Kiran Ayyagari
>>> 
>>> 
>> 
>> 
>> 
>> --
>> Kiran Ayyagari
>> 
> 
> 
> 
> -- 
> Kiran Ayyagari


Re: Replication configuration

Posted by Kiran Ayyagari <ka...@apache.org>.
the trunk is back to stable condition, you can svn up your local copy
or checkout the head directly

On Mon, Oct 10, 2011 at 6:32 PM, Kiran Ayyagari <ka...@apache.org> wrote:
> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>
> please checkout the revision 1180264 cause currently there are few
> changes that destabilized the trunk (should be back to normal in
> couple days)
>
> Please let us know if you have any issues.
>
> On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
>> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>>
>> -j
>>
>> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>>
>>> 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.
>>>
>>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>>> java.lang.NullPointerException
>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>>
>>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>>
>>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>>
>>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>>
>>>>>>>> HTH
>>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>>
>>>>>>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> Kiran Ayyagari
>>
>>
>
>
>
> --
> Kiran Ayyagari
>



-- 
Kiran Ayyagari

Re: Replication configuration

Posted by Kiran Ayyagari <ka...@apache.org>.
http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies

please checkout the revision 1180264 cause currently there are few
changes that destabilized the trunk (should be back to normal in
couple days)

Please let us know if you have any issues.

On Mon, Oct 10, 2011 at 6:06 PM, Jonathan Disher <jd...@parad.net> wrote:
> So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?
>
> -j
>
> On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:
>
>> 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.
>>
>> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>>> java.lang.NullPointerException
>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>>>
>>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>>>
>>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>>>
>>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>>>
>>>>>>> HTH
>>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>>>
>>>>>>>> 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
>>>
>>
>>
>>
>> --
>> Kiran Ayyagari
>
>



-- 
Kiran Ayyagari

Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
So, I checked out trunk and appear to have gotten ApacheDS 1.5.  Where do I check out the 2.0 tree?

-j

On Oct 6, 2011, at 5:30 PM, Kiran Ayyagari wrote:

> 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.
> 
> On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>>> java.lang.NullPointerException
>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>> 
>>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>> 
>>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>> 
>>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>> 
>>>>>> HTH
>>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>> 
>>>>>>> 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
>> 
> 
> 
> 
> -- 
> Kiran Ayyagari


Re: Replication configuration

Posted by Kiran Ayyagari <ka...@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 findings.

On Thu, Oct 6, 2011 at 3:33 PM, Kiran Ayyagari <ka...@apache.org> 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 <jd...@parad.net> 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 the syncrepl provider
>> java.lang.NullPointerException
>>        at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>>
>>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>>> So, I did, and I followed the directions.  I get this on my slave:
>>>>
>>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>>
>>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>>
>>>>> HTH
>>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>>
>>>>>> 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
>



-- 
Kiran Ayyagari

Re: Replication configuration

Posted by Kiran Ayyagari <ka...@apache.org>.
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 <jd...@parad.net> 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 the syncrepl provider
> java.lang.NullPointerException
>        at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
>        at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
>        at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
>>
>> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>>> So, I did, and I followed the directions.  I get this on my slave:
>>>
>>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>>>
>>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>>>
>>>> HTH
>>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>>>
>>>>> 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

Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
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 the syncrepl provider
java.lang.NullPointerException
	at org.apache.directory.server.ldap.replication.provider.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
	at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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.SyncReplSearchListener.<init>(SyncReplSearchListener.java:98)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.registerPersistentSearches(SyncReplRequestHandler.java:929)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.start(SyncReplRequestHandler.java:171)
	at org.apache.directory.server.ldap.LdapServer.startReplicationProducer(LdapServer.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(ApacheDsTanukiWrapper.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?
> 
> On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
>> So, I did, and I followed the directions.  I get this on my slave:
>> 
>> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>> 
>> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>> 
>>> HTH
>>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>> 
>>>> 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


Re: Replication configuration

Posted by Kiran Ayyagari <ka...@apache.org>.
did you add the attribute 'ads-replReqHandler' and restarted the server?

On Thu, Oct 6, 2011 at 2:26 PM, Jonathan Disher <jd...@parad.net> wrote:
> So, I did, and I followed the directions.  I get this on my slave:
>
> [18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication
>
> I'm kind of confused.  It 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/s4w6dvizvwdbxewr
>>
>> HTH
>> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>>>
>>> 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

Re: Replication configuration

Posted by Jonathan Disher <jd...@parad.net>.
So, I did, and I followed the directions.  I get this on my slave:

[18:37:13] WARN [org.apache.directory.server.ldap.handlers.SearchHandler] - This server does not allow replication

I'm kind of confused.  It 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/s4w6dvizvwdbxewr
> 
> HTH
> On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>> 
>> 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


Re: Replication configuration

Posted by Kiran Ayyagari <ka...@apache.org>.
take a look at this mail thread http://markmail.org/message/s4w6dvizvwdbxewr

HTH
On Wed, Oct 5, 2011 at 3:34 PM, Jonathan Disher <jd...@parad.net> 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?
>
> 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