directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: Error in adding entry
Date Mon, 18 Nov 2013 13:49:40 GMT
You can export just your partition, it should do the trick.

On Mon, Nov 18, 2013 at 2:22 PM, Nihita Goel <nihita@tifr.res.in> wrote:
> Hello:
>
> Thanks. I will do that.
>
> For reimport. Will the following steps be fine:
>
> 1. I use the export option on Directory studio - and export everything to a
> ldif file [ Or, do I just export my partition]
> 2. After the fresh reinstallation- I use the import command.
>
> -- Nihita
>
>
>
> On Mon, Nov 18, 2013 at 6:38 PM, Emmanuel Lecharny <elecharny@apache.org>wrote:
>
>> Seems like a race condition... Can you fill a JIRA with the stack
>> trace you provided, so that we have a trace to analyse ?
>>
>> Many thanks for the report.
>>
>> In the mean time, there is little you can do but to reimport your data
>> into a fresh LDAP instance. Sorry for that.
>>
>> On Mon, Nov 18, 2013 at 1:56 PM, Nihita Goel <nihita@tifr.res.in> wrote:
>> > Hi:
>> > I am using apacheds M15 version.
>> > I had created some entries using Apache Directory Studio. Everything was
>> > working fine for last one month or so
>> >
>> > However, today one of the entry (it was for a group) seemed missing.
>> > So, I tried to add it again using Directory Studio. When I do that it
>> gives
>> > an error "Entry already exists", whereas I cannot see that entry.
>> > I tried to Reload the entry but it does not show.
>> >
>> > Even the application that is using this ldap server for authentication
>> was
>> > not successful against this entry. So,
>> >
>> > 1. The entry seem to have got deleted - by itself
>> > 2. Somewhere it still exist - as Directory Studio gets error "Entry
>> already
>> > exist" when I try to enter.
>> >
>> > There is no error in  apacheds.log.
>> >
>> > I see that some JVM crash occurred in the wrapper.log. The timings seem
>> to
>> > coincide with the time from when I observe this problem.
>> >
>> > I have limited experience with LDAP as such. How suggest how do I resolve
>> > this problem?
>> >
>> >  TERM trapped.  Shutting down.
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 | Error in WrapperListener.stop
>> > callback.  java.lang.Error: ERR_554 double get for block 9
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 | java.lang.Error: ERR_554 double
>> > get for block 9
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> > jdbm.recman.RecordFile.get(RecordFile.java:185)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> > jdbm.recman.PhysicalRowIdManager.update(PhysicalRowIdManager.java:94)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> > jdbm.recman.BaseRecordManager.update(BaseRecordManager.java:281)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> jdbm.recman.CacheRecordManager.updateCacheEntries(CacheRecordManager.java:417)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> > jdbm.recman.CacheRecordManager.commit(CacheRecordManager.java:349)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.sync(JdbmTable.java:968)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.sync(JdbmPartition.java:322)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.sync(DefaultPartitionNexus.java:353)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> org.apache.directory.server.core.DefaultDirectoryService.shutdown(DefaultDirectoryService.java:1299)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:594)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.stop(ApacheDsTanukiWrapper.java:97)
>> > INFO   | jvm 1    | 2013/11/18 15:57:26 |       at
>> >
>> org.tanukisoftware.wrapper.WrapperManager$13.run(WrapperManager.java:3134)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 | Exception in thread "ApacheDS
>> > Shutdown Hook (default)" java.lang.Error: ERR_554 double get for block 9
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> > jdbm.recman.RecordFile.get(RecordFile.java:185)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> > jdbm.recman.PhysicalRowIdManager.update(PhysicalRowIdManager.java:94)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> > jdbm.recman.BaseRecordManager.update(BaseRecordManager.java:281)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> >
>> jdbm.recman.CacheRecordManager.updateCacheEntries(CacheRecordManager.java:417)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> > jdbm.recman.CacheRecordManager.commit(CacheRecordManager.java:349)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> >
>> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.sync(JdbmTable.java:968)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> >
>> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.sync(JdbmPartition.java:322)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> >
>> org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.sync(DefaultPartitionNexus.java:353)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> >
>> org.apache.directory.server.core.DefaultDirectoryService.shutdown(DefaultDirectoryService.java:1299)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> >
>> org.apache.directory.server.core.DefaultDirectoryService$1.run(DefaultDirectoryService.java:1230)
>> > INFO   | jvm 1    | 2013/11/18 15:57:27 |       at
>> > java.lang.Thread.run(Thread.java:722)
>> > STATUS | wrapper  | 2013/11/18 15:57:27 | <-- Wrapper Stopped
>> >
>> > -- Nihita
>>
>>
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel L├ęcharny
>> www.iktek.com
>>
>
>
>
> --
> Dr. Nihita Goel
> Head, ISDG and Scientific Officer(F)
> Tata Institute of Fundamental Research
> Mumbai-400005
> Ph: 022-22782548



-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message