directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1942) Crash after restart - Failed to start the service
Date Thu, 19 Dec 2013 16:36:12 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853016#comment-13853016
] 

Emmanuel Lecharny commented on DIRSERVER-1942:
----------------------------------------------

Stephan,

this is likely to be a pb we have fixed in the recent versions (M15) : typically, an update
is being done while a search is running, and the indexes are not consistents.

There is no simple fix with the existing backend we use (JDBM) and this is why we are throwing
a lot of energy in completing Mavibot, the new backend for 2.0.

Mavibot will have a full transaction system, protecting the database from corruptions. Right
now, Mavibot has been tested with ApacheDS and it works, but we don't have the transactions
implemented, so we still may have some issues in case you have a brutal stop of the server
in the middle of an update operation.

Anyway, I encourage you to switch to 2.0.0-M15 instead of M12, it's likely to be more stable.

> Crash after restart -  Failed to start the service
> --------------------------------------------------
>
>                 Key: DIRSERVER-1942
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1942
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M12
>            Reporter: Stephan Becker
>
> We encountered once again a crash after a restart of ApacheDS.
> This is unfortunately very often that we see these crashes after a couple of months even
though the LDAP was running fine ...
> Stack trace is below
> {code}
> [19:27:55] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - 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:84)
> 	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1808)
> 	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1239)
> 	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:315)
> 	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:179)
> 	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
> 	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
> Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
> 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:84)
> 	at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:829)
> 	at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:224)
> 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79)
> 	... 6 more
> Caused by: org.apache.directory.api.ldap.model.exception.LdapOperationErrorException
> 	at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.fetch(AbstractBTreePartition.java:1145)
> 	at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1058)
> 	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:235)
> 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:79)
> 	... 9 more
> Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
> 	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:353)
> 	at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.fetch(AbstractBTreePartition.java:1119)
> 	... 12 more{code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message