Philip Brown created DIRSERVER-2263:
---------------------------------------

             Summary: ERR_250_ENTRY_ALREADY_EXISTS ou=config already exists!
                 Key: DIRSERVER-2263
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2263
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
    Affects Versions: 2.0.0.AM25
            Reporter: Philip Brown


Saw a bug that seems similar to this a year ago. nothing since then, so seems 
appropriate to open a fresh bug.

 

I've got apacheDS finally ready to go, for my tastes. and now I'm simply 
starting and stopping the server.

literally no data changes. just start it up. kill it. and start it up again.

Second startup, I get the dreaded

jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | [10:59:26] ERROR 
[org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start 
the service.
jvm 1 | org.apache.directory.api.ldap.model.exception.LdapOtherException: 
ERR_250_ENTRY_ALREADY_EXISTS ou=config already exists!
jvm 1 | at 
org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:95)
jvm 1 | at 
org.apache.directory.server.config.ConfigPartitionInitializer.initConfigPartition(ConfigPartitionInitializer.java:214)
jvm 1 | at 
org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:334)
jvm 1 | at 
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:186)
jvm 1 | at 
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:152)
jvm 1 | at 
org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:175)
jvm 1 | at 
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
jvm 1 | Caused by: 
org.apache.directory.api.ldap.model.exception.LdapEntryAlreadyExistsException: 
ERR_250_ENTRY_ALREADY_EXISTS ou=config already exists!
jvm 1 | at 
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:761)
jvm 1 | at 
org.apache.directory.server.core.partition.ldif.LdifPartition.loadEntries(LdifPartition.java:604)
jvm 1 | at 
org.apache.directory.server.core.partition.ldif.LdifPartition.doInit(LdifPartition.java:175)
jvm 1 | at 
org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:90)
jvm 1 | ... 6 more
wrapper | <-- Wrapper Stopped

 

 

if I   rm -r ou=config*

then cp config.ldif_migrated config.ldif

 

and start it up again...

it does the migration just fine, happy happy....

 

and then breaks when I attempt to restart it.

 

Yes I have replication enabled.

No, there are NO Actual Data Changes happening. THe data has already been 
synced. it can be considered static at this point.

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to