ApacheDs crash and can't restart
Hi: I can't restart my apacheds crush again. Here is the exception information: ——— java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1302) at java.util.concurrent.Semaphore.acquire(Semaphore.java:312) at org.apache.mina.transport.socket.nio.NioDatagramAcceptor$Acceptor.run(NioDatagramAcceptor.java:169) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [10:23:51] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] - ERR_13207_VALUE_ALREADY_EXISTS The value '1.3.6.1.4.1.42.2.27.8.5.1' already exists in the attribute (supportedControl) [10:23:51] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] - ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.841' already exists in the attribute (supportedControl) [10:23:51] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] - ERR_13207_VALUE_ALREADY_EXISTS The value '1.3.6.1.4.1.4203.1.9.1.2' already exists in the attribute (supportedControl) [10:23:51] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] - ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.319' already exists in the attribute (supportedControl) [10:23:51] WARN [org.apache.directory.api.ldap.model.entry.DefaultAttribute] - ERR_13207_VALUE_ALREADY_EXISTS The value '1.2.840.113556.1.4.528' already exists in the attribute (supportedControl) [10:23:52] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service. org.apache.directory.api.ldap.model.exception.LdapOtherException at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:91) at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:2073) at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1245) at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:390) at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:205) at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:152) at org.apache.directory.server.UberjarMain.start(UberjarMain.java:153) at org.apache.directory.server.UberjarMain.main(UberjarMain.java:80) Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:91) at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:834) at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:242) at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:86) ... 7 more Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.convertAndInit(JdbmPartition.java:835) at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.setupSystemIndices(AbstractBTreePartition.java:437) at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.doInit(AbstractBTreePartition.java:629) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:511) at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:86) ... 10 more Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3426) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:3226) at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:1133) at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:801) at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:891) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1857) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751) at
Re: Sponsoring the work on data corruption / Mavibot
On Wed, May 26, 2021 at 10:26 PM Emmanuel Lécharny wrote: > Hi, > > > > On 22/05/2021 22:43, Samuel wrote: > > Hello, > > > > I may be able to convince my company to sponsor the work on data > > corruption / Mavibot, the goal would be to get ApacheDS production-ready > > from a stability point of view. I have a couple of questions: > > > > 1) How much money would be needed to sponsor this work? > > 2) where would the money need to be sent? > > Kiran, interested? > Sorry, my hands are full at the moment. Thank you Emmanuel. > > > 3) About how much time would be necessary from the moment financial > > resources are in? > > Not necessarily a lot of time. I would say something around 1 month. > > -- > *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.lecha...@busit.com https://www.busit.com/ > > - > To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org > For additional commands, e-mail: dev-h...@directory.apache.org > > Kiran
Re: Urgent :Apache DS Replace JDBM with mavibot
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-unsubscr...@directory.apache.org >> For additional commands, e-mail: dev-h...@directory.apache.org >> >> >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org >> For additional commands, e-mail: dev-h...@directory.apache.org - To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org
[jira] [Created] (DIRSERVER-2348) Mavibot partition data disappears
Stefan Seelmann created DIRSERVER-2348: -- Summary: Mavibot partition data disappears Key: DIRSERVER-2348 URL: https://issues.apache.org/jira/browse/DIRSERVER-2348 Project: Directory ApacheDS Issue Type: Bug Components: backend, mavibot Affects Versions: 2.0.0.AM26 Environment: ArchLinux OpenJDK 1.8.0_292 ApacheDS 2.0.0.AM26 Reporter: Stefan Seelmann Start a new ApacheDS 2.0.0.AM26 (tar.gz archive on Linux) Create a connection in Studio 2.0.0.M16, open the ApacheDS configuration, add a partition type:Mavibot with id:mavibot and suffix:dc=mavibot,dc=com, and save. Observations: * The new config is visible in the config partition: ads-partitionId=mavibot,ou=partitions,ads-directoryServiceId=default,ou=config (expected). * The namingContext doesn't yet exist in the Root DSE (expected). * The partition directory instances/default/partitions doesn't exist yet (expected). Restart ApacheDS. Observations: * The partition directory {{instances/default/partitions/mavibot}} and a {{mavibot.db}} was created (expected). * The {{namingContext:dc=mavibot,dc=com}} exists in the RootDSE (expected) * The context entry does not exist, despite configured (unexptected!) Inject the context entry and some other data {noformat} dn: dc=mavibot,dc=com objectclass: domain objectclass: top dc: mavibot {noformat} Observations: * The data is there, even after close/open the connection (expected) * The partition file {{instances/default/partitions/mavibot/mavibot.db}} grow and has a recent modification time (expected) Restart ApacheDS Observations: * The partition file {{instances/default/partitions/mavibot/mavibot.db}} is still there, has the same size, but the modification time changed (expected) * The {{namingContext:dc=mavibot,dc=com}} still exists in the RootDSE (expected) * The context entry is gone (unexpected!) Context: https://lists.apache.org/thread.html/r6142d8abfaf233401ffdc3e96160a3a1b2c38beab24f958757311b20%40%3Cdev.directory.apache.org%3E -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org