You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2017/04/30 12:04:04 UTC

[jira] [Commented] (DIRSERVER-2192) apcheds M23 - ERR_554 AND ERR_562

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

Emmanuel Lecharny commented on DIRSERVER-2192:
----------------------------------------------

This is a known issue, we don't have a fix atm.

We have added a {{repair}} command to teh last version of ApacheDS (2.0.0-M23) :

{{"In order to repair the database, one has just to start the server passing the 'repair' command to the apacheds script, instead of the 'start' comamnd. The server will start after having repaired the database."}}

Another solution would be to restart from a blank database, and to reload the data as ldif.

FYI, we are working on a fix, but it will take time

> apcheds M23 - ERR_554 AND ERR_562
> ---------------------------------
>
>                 Key: DIRSERVER-2192
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2192
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: sasha
>            Priority: Critical
>
> once a week im getting this errors , the only solution is to restart apacheds ,
> how can i fix it? 
> Unexpected exception forcing session to close: sending disconnect notice to client.
> java.lang.Error: ERR_554 double get for block 11,085
>         at jdbm.recman.RecordFile.get(RecordFile.java:185)
>         at jdbm.recman.PhysicalRowIdManager.allocNew(PhysicalRowIdManager.java:202)
>         at jdbm.recman.PhysicalRowIdManager.alloc(PhysicalRowIdManager.java:177)
>         at jdbm.recman.PhysicalRowIdManager.update(PhysicalRowIdManager.java:101)
>         at jdbm.recman.BaseRecordManager.update(BaseRecordManager.java:281)
>         at jdbm.recman.CacheRecordManager.updateCacheEntries(CacheRecordManager.java:417)
>         at jdbm.recman.CacheRecordManager.commit(CacheRecordManager.java:349)
>         at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.sync(JdbmTable.java:976)
>         at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.sync(JdbmPartition.java:577)
>         at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:871)
>         at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.add(DefaultPartitionNexus.java:361)
>         at org.apache.directory.server.core.api.interceptor.BaseInterceptor$1.add(BaseInterceptor.java:107)
> 		
> 		
> 		
> 		
> 		
> 		
> 		
> 		
> 		
> 		
> 		[03:28:29] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Unexpected exception forcing session to close: sending disconnect notice to client.
> java.lang.Error: ERR_562 Offset too large for record header (11,085:30,012)
>         at jdbm.recman.RecordHeader.<init>(RecordHeader.java:83)
>         at jdbm.recman.PhysicalRowIdManager.allocNew(PhysicalRowIdManager.java:224)
>         at jdbm.recman.PhysicalRowIdManager.alloc(PhysicalRowIdManager.java:177)
>         at jdbm.recman.PhysicalRowIdManager.update(PhysicalRowIdManager.java:101)
>         at jdbm.recman.BaseRecordManager.update(BaseRecordManager.java:281)
>         at jdbm.recman.CacheRecordManager.updateCacheEntries(CacheRecordManager.java:417)
>         at jdbm.recman.CacheRecordManager.commit(CacheRecordManager.java:349)
>         at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.sync(JdbmTable.java:976)
>         at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.sync(JdbmPartition.java:577)
>         at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:871)
>         at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.add(DefaultPartitionNexus.java:361)
>         at org.apache.directory.server.core.api.interceptor.BaseInterceptor$1.add(BaseInterceptor.java:107)
>         at org.apache.directory.server.core.api.interceptor.BaseInterceptor.next(BaseInterceptor.java:341)
>         at org.apache.directory.server.core.journal.JournalInterceptor.add(JournalInterceptor.java:139)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)