[
https://issues.apache.org/jira/browse/DIRSTUDIO-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030017#comment-16030017
]
Sean Brown commented on DIRSTUDIO-1104:
---------------------------------------
I get this same issue, although I'm running it from a docker container whose
entrypoint is the apacheds.bat file. All I have to do is restart the container
without doing anything and it will always fail to start the service again with
the ERR_250_ENTRY_ALREADY_EXISTS error.
Stefan Seelmann referred to a "stop" action and a "start and repair" action in
Apache Directory Studio, yet these options are not apparent -- where are these
options hiding (hopefully in plain sight?)
> 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.15#6346)