[
https://issues.apache.org/jira/browse/DIRSERVER-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021132#comment-16021132
]
Oren Cohen edited comment on DIRSERVER-2192 at 5/23/17 12:29 PM:
-----------------------------------------------------------------
Hi Emmanuel
I'm running M21 and when I upgrade to M23 (by replacing JAR) in order to use
the "repair" option, I can no longer see the RootDSE objects.
However, if I run command : ldapsearch -x -b '' -h localhost -p 10389
I can see all objects.
1) Is there any upgrade procedure (for Windows), from M21 to M23, or JAR
replacement is enough ? If it's enough, then why don't I see the objects ?
2) This is the RootDSE :
version: 1
dn: dc=internaldomain
objectclass: top
objectclass: domain
dc: monza
dn: ou=config
objectclass: organizationalUnit
objectclass: top
ou: config
dn: ou=schema
objectclass: top
objectclass: organizationalUnit
ou: schema
dn: ou=system
objectClass: extensibleObject
objectClass: organizationalUnit
objectClass: top
ou: system
3) What is the correct procedure to fix corrupted DB (ApacheDS service doesn't
boot) if I'm running M21 ? I tried "repair" and "plumber" tool with no help.
Thanks !
was (Author: orenco):
Hi Emmanuel
I'm running M21 and when I upgrade to M23 (by replacing JAR) in order to use
the "repair" option, I can no longer see the RootDSE objects.
However, if I run command : ldapsearch -x -b '' -h localhost -p 10389
I can see all objects.
1) Is there any upgrade procedure (for Windows), from M21 to M23, or JAR
replacement is enough ? If it's enough, then why don't I see the objects ?
2) This is the RootDSE :
version: 1
dn: dc=internaldomain
objectclass: top
objectclass: domain
dc: monza
dn: ou=config
objectclass: organizationalUnit
objectclass: top
ou: config
dn: ou=schema
objectclass: top
objectclass: organizationalUnit
ou: schema
dn: ou=system
objectClass: extensibleObject
objectClass: organizationalUnit
objectClass: top
ou: system
3) What is the correct procedure to fix corrupted DB (ApacheDS service doesn't
boot) if I'm running M21 ? I tried "repair" and "plumber" tool with no help.
> 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)