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

Friso Vrolijken edited comment on DIRSTUDIO-1104 at 10/14/16 12:41 PM:
-----------------------------------------------------------------------

I'm having the same issue. Reproduction scenario:
- Create a new server
- choose apache ds 2.0.0
- start the server 
- stop the server
- start the server 
-- this will fail as will any subsequent restart. 

The error shown by the console is: 
{noformat}
[14:26:27] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
the service.
org.apache.directory.api.ldap.model.exception.LdapEntryAlreadyExistsException: 
ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists!
        at 
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:687)
        at 
org.apache.directory.server.core.DefaultDirectoryService.initializeSystemPartition(DefaultDirectoryService.java:1755)
        at 
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1815)
        at 
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1250)
        at 
org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:318)
        at 
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:182)
        at org.apache.directory.server.UberjarMain.start(UberjarMain.java:136)
        at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)
{noformat}



was (Author: friso):
I'm having the same issue. Reproduction scenario:
- Create a new server
- choose apache ds 2.0.0
- start the server 
- stop the server
- start the server 
-- this will fail as will any subsequent restart. The error shown by the 
console is: 
{noformat}
[14:26:27] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
the service.
org.apache.directory.api.ldap.model.exception.LdapEntryAlreadyExistsException: 
ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists!
        at 
org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:687)
        at 
org.apache.directory.server.core.DefaultDirectoryService.initializeSystemPartition(DefaultDirectoryService.java:1755)
        at 
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1815)
        at 
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1250)
        at 
org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:318)
        at 
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:182)
        at org.apache.directory.server.UberjarMain.start(UberjarMain.java:136)
        at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)
{noformat}


> ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists!
> ------------------------------------------------------
>
>                 Key: DIRSTUDIO-1104
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1104
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M10 (2.0.0.v20151221-M10)
>         Environment: Windows 7
>            Reporter: Ben Silverman
>
> I created a directory on the same version last week but now when I attempt to 
> start it again I'm getting the following error in the log.  I'm not sure how 
> I can recover from this or repair it.
> [08:18:53] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
> the service.
> org.apache.directory.api.ldap.model.exception.LdapEntryAlreadyExistsException:
>  ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists!
>       at 
> org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.add(AbstractBTreePartition.java:687)
>       at 
> org.apache.directory.server.core.DefaultDirectoryService.initializeSystemPartition(DefaultDirectoryService.java:1755)
>       at 
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1815)
>       at 
> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1250)
>       at 
> org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:318)
>       at 
> org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:182)
>       at org.apache.directory.server.UberjarMain.start(UberjarMain.java:136)
>       at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)
> [08:18:53] ERROR [org.apache.directory.server.UberjarMain] - Failed to start 
> the service.
> java.lang.NullPointerException
>       at 
> org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:577)
>       at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:155)
>       at org.apache.directory.server.UberjarMain.start(UberjarMain.java:143)
>       at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to