You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Alexander Zaretsky <az...@truetechnology.com.co> on 2021/05/22 16:32:49 UTC

Urgent :Apache DS Replace JDBM with mavibot

Hello : I am experiencing corruption using Apache Directory Server 2.0.0 
M26 on windows server 2016.

I am trying to repair the JDBM backend :

I modified the file

c:\Program Files 
(x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the 
following line at the end of the file wrapper.app.parameter.1=repair

and restarting.

I realize this is not a definite solution, so I want to use mavibot as a 
backend for my Apache DS instead of JDBM

I want to know how to make my apache DS work with mavibot instead of jdbm.

I also want to know how to migrate my current JDBM entries to mavibot.

Thanks in advance

-- 
Saludos, Regards
Alexander Zaretsky
CEO True Technology Solutions SAS



Fwd: Fwd: Urgent :Apache DS Replace JDBM with mavibot

Posted by Alexander Zaretsky <az...@truetechnology.com.co>.
FYA



-------- Mensaje reenviado --------
Asunto: 	Fwd: Urgent :Apache DS Replace JDBM with mavibot
Fecha: 	Sat, 22 May 2021 11:38:30 -0500
De: 	Alexander Zaretsky <az...@truetechnology.com.co>
Para: 	dev@directory.apache.org



FYA



-------- Mensaje reenviado --------
Asunto: 	Urgent :Apache DS Replace JDBM with mavibot
Fecha: 	Sat, 22 May 2021 11:32:49 -0500
De: 	Alexander Zaretsky <az...@truetechnology.com.co>
Para: 	dev@directory.apache.org
CC: 	users@directory.apache.org



Hello : I am experiencing corruption using Apache Directory Server 2.0.0 
M26 on windows server 2016.

I am trying to repair the JDBM backend :

I modified the file

c:\Program Files 
(x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the 
following line at the end of the file wrapper.app.parameter.1=repair

and restarting.

I realize this is not a definite solution, so I want to use mavibot as a 
backend for my Apache DS instead of JDBM

I want to know how to make my apache DS work with mavibot instead of jdbm.

I also want to know how to migrate my current JDBM entries to mavibot.

Thanks in advance

-- 
Saludos, Regards
Alexander Zaretsky
CEO True Technology Solutions SAS



Fwd: Urgent :Apache DS Replace JDBM with mavibot

Posted by Alexander Zaretsky <az...@truetechnology.com.co>.
FYA



-------- Mensaje reenviado --------
Asunto: 	Urgent :Apache DS Replace JDBM with mavibot
Fecha: 	Sat, 22 May 2021 11:32:49 -0500
De: 	Alexander Zaretsky <az...@truetechnology.com.co>
Para: 	dev@directory.apache.org
CC: 	users@directory.apache.org



Hello : I am experiencing corruption using Apache Directory Server 2.0.0 
M26 on windows server 2016.

I am trying to repair the JDBM backend :

I modified the file

c:\Program Files 
(x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the 
following line at the end of the file wrapper.app.parameter.1=repair

and restarting.

I realize this is not a definite solution, so I want to use mavibot as a 
backend for my Apache DS instead of JDBM

I want to know how to make my apache DS work with mavibot instead of jdbm.

I also want to know how to migrate my current JDBM entries to mavibot.

Thanks in advance

-- 
Saludos, Regards
Alexander Zaretsky
CEO True Technology Solutions SAS



Re: Urgent :Apache DS Replace JDBM with mavibot

Posted by Alexander Zaretsky <az...@truetechnology.com.co>.
Thanks.

I followed the link, and I created the mavibot partition.

I created the entry and tried to import the ldif.

I got errors :


eclipse.buildId=unknown

java.version=1.8.0_152

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Framework arguments:  /studio-rcp/resources/icons/linux/studio.xpm

Command-line arguments:  -os win32 -ws win32 -arch x86_64 
/studio-rcp/resources/icons/linux/studio.xpm

org.apache.directory.studio.slf4j-eclipselog

Error

Tue May 25 12:06:21 COT 2021

ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no 
response was found.

Please advice.


El 22/05/21 a las 3:44 p. m., Stefan Seelmann escribió:
> Hi Alexander,
>
> On 5/22/21 6:32 PM, Alexander Zaretsky wrote:
>> Hello : I am experiencing corruption using Apache Directory Server 2.0.0
>> M26 on windows server 2016.
> Unfortunately that's a known issue, please read our statement about the
> production readiness [1].
>
>> I am trying to repair the JDBM backend :
>>
>> I modified the file
>>
>> c:\Program Files
>> (x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the
>> following line at the end of the file wrapper.app.parameter.1=repair
>>
>> and restarting.
>>
>> I realize this is not a definite solution, so I want to use mavibot as a
>> backend for my Apache DS instead of JDBM
>>
>> I want to know how to make my apache DS work with mavibot instead of jdbm.
> The easiest way is to use Studio to create a Mavibot partition, see [2].
> Once stored you can find the configuration in the config partition below
> ou=partitions,ads-directoryServiceId=default,ou=config
>
> However I can't tell you if the current version of Mavibot is stable
> enough or might cause similar or differnt problems.
>
>> I also want to know how to migrate my current JDBM entries to mavibot.
> I think the only way is to export and import the data via LDIF.
>
> Kind Regards,
> Stefan
>
>
> [1] https://directory.apache.org/apacheds/production-readiness.html
> [2]
> https://nightlies.apache.org/directory/studio/2.0.0.v20210213-M16/userguide/apacheds/gettingstarted_configuration_editor_partitions.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
> For additional commands, e-mail: dev-help@directory.apache.org
>
-- 
Saludos, Regards
Alexander Zaretsky
CEO True Technology Solutions SAS


Fwd: Urgent :Apache DS Replace JDBM with mavibot

Posted by Alexander Zaretsky <az...@truetechnology.com.co>.


-------- Mensaje reenviado --------
Asunto: 	Re: Urgent :Apache DS Replace JDBM with mavibot
Fecha: 	Tue, 25 May 2021 13:46:45 -0500
De: 	Alexander Zaretsky <az...@truetechnology.com.co>
Para: 	dev@directory.apache.org



Hi, Stefan.

I created the mavibot partition, but something happened while trying to 
create the context entry.

I got the following error. Do I need to install something extra? What 
could be worng?


Error while creating entry

- ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, 
no response was found.

org.apache.directory.api.ldap.model.exception.LdapException: 
ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no 
response was found.

at 
org.apache.directory.ldap.client.api.LdapNetworkConnection.add(LdapNetworkConnection.java:1090)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$6.run(DirectoryApiConnectionWrapper.java:996)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1312)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1256)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.createEntry(DirectoryApiConnectionWrapper.java:1031)

at 
org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.createEntry(CreateEntryRunnable.java:225)

at 
org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.run(CreateEntryRunnable.java:124)

at 
org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:129)

at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Caused by: org.apache.directory.api.ldap.model.exception.LdapException: 
ERR_04170_TIMEOUT_OCCURED TimeOut occurred

at 
org.apache.directory.ldap.client.api.LdapNetworkConnection.add(LdapNetworkConnection.java:1057)

... 8 more

ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no 
response was found.



El 22/05/21 a las 3:44 p. m., Stefan Seelmann escribió:
> Hi Alexander,
>
> On 5/22/21 6:32 PM, Alexander Zaretsky wrote:
>> Hello : I am experiencing corruption using Apache Directory Server 2.0.0
>> M26 on windows server 2016.
> Unfortunately that's a known issue, please read our statement about the
> production readiness [1].
>
>> I am trying to repair the JDBM backend :
>>
>> I modified the file
>>
>> c:\Program Files
>> (x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the
>> following line at the end of the file wrapper.app.parameter.1=repair
>>
>> and restarting.
>>
>> I realize this is not a definite solution, so I want to use mavibot as a
>> backend for my Apache DS instead of JDBM
>>
>> I want to know how to make my apache DS work with mavibot instead of jdbm.
> The easiest way is to use Studio to create a Mavibot partition, see [2].
> Once stored you can find the configuration in the config partition below
> ou=partitions,ads-directoryServiceId=default,ou=config
>
> However I can't tell you if the current version of Mavibot is stable
> enough or might cause similar or differnt problems.
>
>> I also want to know how to migrate my current JDBM entries to mavibot.
> I think the only way is to export and import the data via LDIF.
>
> Kind Regards,
> Stefan
>
>
> [1]https://directory.apache.org/apacheds/production-readiness.html
> [2]
> https://nightlies.apache.org/directory/studio/2.0.0.v20210213-M16/userguide/apacheds/gettingstarted_configuration_editor_partitions.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:dev-unsubscribe@directory.apache.org
> For additional commands, e-mail:dev-help@directory.apache.org
>
-- 
Saludos, Regards
Alexander Zaretsky
CEO True Technology Solutions SAS


Re: Urgent :Apache DS Replace JDBM with mavibot

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
Hi Alexander,

I tried to reproduce, didn't get your error, but found a more serious
bug, the data disappears after restart:
https://issues.apache.org/jira/browse/DIRSERVER-2348

Kind Regards,
Stefan


On 5/25/21 8:46 PM, Alexander Zaretsky wrote:
> Hi, Stefan.
> 
> I created the mavibot partition, but something happened while trying to
> create the context entry.
> 
> I got the following error. Do I need to install something extra? What
> could be worng?
> 
> 
> Error while creating entry
> 
> - ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied,
> no response was found.
> 
> org.apache.directory.api.ldap.model.exception.LdapException:
> ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no
> response was found.
> 
> at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.add(LdapNetworkConnection.java:1090)
> 
> 
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$6.run(DirectoryApiConnectionWrapper.java:996)
> 
> 
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1312)
> 
> 
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1256)
> 
> 
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.createEntry(DirectoryApiConnectionWrapper.java:1031)
> 
> 
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.createEntry(CreateEntryRunnable.java:225)
> 
> 
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.run(CreateEntryRunnable.java:124)
> 
> 
> at
> org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:129)
> 
> 
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> 
> 
> Caused by: org.apache.directory.api.ldap.model.exception.LdapException:
> ERR_04170_TIMEOUT_OCCURED TimeOut occurred
> 
> at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.add(LdapNetworkConnection.java:1057)
> 
> 
> ... 8 more
> 
> ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no
> response was found.
> 
> 
> 
> El 22/05/21 a las 3:44 p. m., Stefan Seelmann escribió:
>> Hi Alexander,
>>
>> On 5/22/21 6:32 PM, Alexander Zaretsky wrote:
>>> Hello : I am experiencing corruption using Apache Directory Server 2.0.0
>>> M26 on windows server 2016.
>> Unfortunately that's a known issue, please read our statement about the
>> production readiness [1].
>>
>>> I am trying to repair the JDBM backend :
>>>
>>> I modified the file
>>>
>>> c:\Program Files
>>> (x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the
>>> following line at the end of the file wrapper.app.parameter.1=repair
>>>
>>> and restarting.
>>>
>>> I realize this is not a definite solution, so I want to use mavibot as a
>>> backend for my Apache DS instead of JDBM
>>>
>>> I want to know how to make my apache DS work with mavibot instead of
>>> jdbm.
>> The easiest way is to use Studio to create a Mavibot partition, see [2].
>> Once stored you can find the configuration in the config partition below
>> ou=partitions,ads-directoryServiceId=default,ou=config
>>
>> However I can't tell you if the current version of Mavibot is stable
>> enough or might cause similar or differnt problems.
>>
>>> I also want to know how to migrate my current JDBM entries to mavibot.
>> I think the only way is to export and import the data via LDIF.
>>
>> Kind Regards,
>> Stefan
>>
>>
>> [1] https://directory.apache.org/apacheds/production-readiness.html
>> [2]
>> https://nightlies.apache.org/directory/studio/2.0.0.v20210213-M16/userguide/apacheds/gettingstarted_configuration_editor_partitions.html
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
>> For additional commands, e-mail: dev-help@directory.apache.org
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
>> For additional commands, e-mail: dev-help@directory.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: Urgent :Apache DS Replace JDBM with mavibot

Posted by Alexander Zaretsky <az...@truetechnology.com.co>.
Hi, Stefan.

I created the mavibot partition, but something happened while trying to 
create the context entry.

I got the following error. Do I need to install something extra? What 
could be worng?


Error while creating entry

- ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, 
no response was found.

org.apache.directory.api.ldap.model.exception.LdapException: 
ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no 
response was found.

at 
org.apache.directory.ldap.client.api.LdapNetworkConnection.add(LdapNetworkConnection.java:1090)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$6.run(DirectoryApiConnectionWrapper.java:996)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1312)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1256)

at 
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.createEntry(DirectoryApiConnectionWrapper.java:1031)

at 
org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.createEntry(CreateEntryRunnable.java:225)

at 
org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.run(CreateEntryRunnable.java:124)

at 
org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:129)

at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Caused by: org.apache.directory.api.ldap.model.exception.LdapException: 
ERR_04170_TIMEOUT_OCCURED TimeOut occurred

at 
org.apache.directory.ldap.client.api.LdapNetworkConnection.add(LdapNetworkConnection.java:1057)

... 8 more

ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no 
response was found.



El 22/05/21 a las 3:44 p. m., Stefan Seelmann escribió:
> Hi Alexander,
>
> On 5/22/21 6:32 PM, Alexander Zaretsky wrote:
>> Hello : I am experiencing corruption using Apache Directory Server 2.0.0
>> M26 on windows server 2016.
> Unfortunately that's a known issue, please read our statement about the
> production readiness [1].
>
>> I am trying to repair the JDBM backend :
>>
>> I modified the file
>>
>> c:\Program Files
>> (x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the
>> following line at the end of the file wrapper.app.parameter.1=repair
>>
>> and restarting.
>>
>> I realize this is not a definite solution, so I want to use mavibot as a
>> backend for my Apache DS instead of JDBM
>>
>> I want to know how to make my apache DS work with mavibot instead of jdbm.
> The easiest way is to use Studio to create a Mavibot partition, see [2].
> Once stored you can find the configuration in the config partition below
> ou=partitions,ads-directoryServiceId=default,ou=config
>
> However I can't tell you if the current version of Mavibot is stable
> enough or might cause similar or differnt problems.
>
>> I also want to know how to migrate my current JDBM entries to mavibot.
> I think the only way is to export and import the data via LDIF.
>
> Kind Regards,
> Stefan
>
>
> [1] https://directory.apache.org/apacheds/production-readiness.html
> [2]
> https://nightlies.apache.org/directory/studio/2.0.0.v20210213-M16/userguide/apacheds/gettingstarted_configuration_editor_partitions.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
> For additional commands, e-mail: dev-help@directory.apache.org
>
-- 
Saludos, Regards
Alexander Zaretsky
CEO True Technology Solutions SAS


Re: Urgent :Apache DS Replace JDBM with mavibot

Posted by Emmanuel Lécharny <el...@gmail.com>.

On 22/05/2021 22:44, Stefan Seelmann wrote:
> Hi Alexander,
> 
> On 5/22/21 6:32 PM, Alexander Zaretsky wrote:
>> Hello : I am experiencing corruption using Apache Directory Server 2.0.0
>> M26 on windows server 2016.
> 
> Unfortunately that's a known issue, please read our statement about the
> production readiness [1].
> 
>> I am trying to repair the JDBM backend :
>>
>> I modified the file
>>
>> c:\Program Files
>> (x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the
>> following line at the end of the file wrapper.app.parameter.1=repair
>>
>> and restarting.
>>
>> I realize this is not a definite solution, so I want to use mavibot as a
>> backend for my Apache DS instead of JDBM
>>
>> I want to know how to make my apache DS work with mavibot instead of jdbm.
> 
> The easiest way is to use Studio to create a Mavibot partition, see [2].
> Once stored you can find the configuration in the config partition below
> ou=partitions,ads-directoryServiceId=default,ou=config
> 
> However I can't tell you if the current version of Mavibot is stable
> enough or might cause similar or differnt problems.

It's stable, but it has some issues: The 0.9 version, which is used atm, 
does not support cross-btree transactions. The consequence being that it 
may happen that if a crash occurs in the middle of an update, some btree 
might not be updated. Although the master table will always be clean.

The coming version - 1.0 - will support cross-btree transaction, which 
brings two major advantages:
- first a guaranteed correct database even if a crash occurdd in the 
middle of a modification: in this case, no btree will be updated at all, 
otherwise all the btrees willm be updated.
- second you will benefit from the fact that the transaction is 
'public'. Ie, you can drive it through LDAP transaction. This is very 
interesting when it comes to inject many modifications in one shot, as 
we will not write down on disk the intermediate results, but only the 
last version when the transaction is closed; that leads to a real 
speedup on modify operations. Typically, one can expect to inject 
entries at least one order of magnitude faster than when committing a 
transaction after each modification

1.0 does not have a dead revision cleanup though. That means the 
database will only grow with the time. The algorithm is well known, buut 
it's not yet implemented. Actually, there are 2 pôssible algorithms:
- one which remove every 'dead' revisions as soon as the oldest revision 
is not anymore in use, up to the next used revision (this is what is 
implemented in LMDB FTR)
- one which can claim dead revisions (or at least dead pages) when a 
revision is released (but this is a much more complex algorithm).

The fact that we don't have a way to cleanup the database from dead page 
is not necessary a big issue for two reasons:
- first we don't have necessarily a lot of modifications in LDAP, so the 
database would eventually grow slowly
- second we could 'compact' the database when stopping and restarting 
the server: we would only keep the latest revision, and that would be a 
very fast operation.

In any case, yes, 1.0 is not out yet.

The good news is that now I'm done with the junit 5 migration  I can 
switch to mavibot. The less good news is that I have still quite little 
time (but it's getting better).

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@directory.apache.org
For additional commands, e-mail: users-help@directory.apache.org


Re: Urgent :Apache DS Replace JDBM with mavibot

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
Hi Alexander,

On 5/22/21 6:32 PM, Alexander Zaretsky wrote:
> Hello : I am experiencing corruption using Apache Directory Server 2.0.0
> M26 on windows server 2016.

Unfortunately that's a known issue, please read our statement about the
production readiness [1].

> I am trying to repair the JDBM backend :
> 
> I modified the file
> 
> c:\Program Files
> (x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the
> following line at the end of the file wrapper.app.parameter.1=repair
> 
> and restarting.
> 
> I realize this is not a definite solution, so I want to use mavibot as a
> backend for my Apache DS instead of JDBM
> 
> I want to know how to make my apache DS work with mavibot instead of jdbm.

The easiest way is to use Studio to create a Mavibot partition, see [2].
Once stored you can find the configuration in the config partition below
ou=partitions,ads-directoryServiceId=default,ou=config

However I can't tell you if the current version of Mavibot is stable
enough or might cause similar or differnt problems.

> I also want to know how to migrate my current JDBM entries to mavibot.

I think the only way is to export and import the data via LDIF.

Kind Regards,
Stefan


[1] https://directory.apache.org/apacheds/production-readiness.html
[2]
https://nightlies.apache.org/directory/studio/2.0.0.v20210213-M16/userguide/apacheds/gettingstarted_configuration_editor_partitions.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@directory.apache.org
For additional commands, e-mail: users-help@directory.apache.org


Re: Urgent :Apache DS Replace JDBM with mavibot

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
Hi Alexander,

On 5/22/21 6:32 PM, Alexander Zaretsky wrote:
> Hello : I am experiencing corruption using Apache Directory Server 2.0.0
> M26 on windows server 2016.

Unfortunately that's a known issue, please read our statement about the
production readiness [1].

> I am trying to repair the JDBM backend :
> 
> I modified the file
> 
> c:\Program Files
> (x86)\ApacheDS\instances\default\conf\wrapper-instance.conf adding the
> following line at the end of the file wrapper.app.parameter.1=repair
> 
> and restarting.
> 
> I realize this is not a definite solution, so I want to use mavibot as a
> backend for my Apache DS instead of JDBM
> 
> I want to know how to make my apache DS work with mavibot instead of jdbm.

The easiest way is to use Studio to create a Mavibot partition, see [2].
Once stored you can find the configuration in the config partition below
ou=partitions,ads-directoryServiceId=default,ou=config

However I can't tell you if the current version of Mavibot is stable
enough or might cause similar or differnt problems.

> I also want to know how to migrate my current JDBM entries to mavibot.

I think the only way is to export and import the data via LDIF.

Kind Regards,
Stefan


[1] https://directory.apache.org/apacheds/production-readiness.html
[2]
https://nightlies.apache.org/directory/studio/2.0.0.v20210213-M16/userguide/apacheds/gettingstarted_configuration_editor_partitions.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org