directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From werner mueller <werner.muel...@mimacom.ch>
Subject apacheds not starting anymore after server crash
Date Mon, 07 Dec 2009 23:02:37 GMT
hello

I'm a little desparate at the moment: we had a server crash. after 
rebooting the server i tried starting the apacheDS again but it 
terminates with an Input/output error in the logs (see below).

is there a way to repair the database or re-initialize it?
or is there another way?

we use apacheDS 1.5.4 with java 1.6 on Debian 4.0 (so far it was running 
for months with no issues)

any tipps would be great!

thanks a lot
regards

werner



[23:40:16] DEBUG 
[org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry] 
- lookup with id2.5.4.3' of attributeType: <2.5.4.3, cn>
Exception in thread "main" java.io.IOException: Input/output error
         at java.io.RandomAccessFile.readBytes(Native Method)
         at java.io.RandomAccessFile.read(RandomAccessFile.java:322)
         at jdbm.recman.RecordFile.read(RecordFile.java:402)
         at jdbm.recman.RecordFile.get(RecordFile.java:160)
         at 
jdbm.recman.LogicalRowIdManager.fetch(LogicalRowIdManager.java:135)
         at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:337)
         at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:315)
         at 
jdbm.recman.BaseRecordManager.getNameDirectory(BaseRecordManager.java:457)
         at 
jdbm.recman.BaseRecordManager.getNamedObject(BaseRecordManager.java:393)
         at 
jdbm.recman.CacheRecordManager.getNamedObject(CacheRecordManager.java:370)
         at 
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.<init>(JdbmTable.java:148)
         at 
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.initTables(JdbmIndex.java:189)
         at 
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.init(JdbmIndex.java:158)
         at 
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.setupUserIndices(JdbmStore.java:375)
         at 
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.init(JdbmStore.java:275)
         at 
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:248)
         at 
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1317)
         at 
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:840)
         at 
org.apache.directory.server.configuration.ApacheDS.startup(ApacheDS.java:126)
         at org.apache.directory.server.Service.init(Service.java:86)
         at 
org.apache.directory.server.UberjarMain.main(UberjarMain.java:56)


Mime
View raw message