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

Stefan Seelmann commented on DIRSTUDIO-1104:
--------------------------------------------

Okay, I looked into the "Stop" action in Studio and it seems we just kill the 
ApacheDS process without doing a proper shutdown, probably that can explain the 
problems, if data is not yet syncronized to file system.

Are you on Windows? Then please try to used the standalone ApacheDS from 
https://directory.apache.org/apacheds/downloads.html


> 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)

Reply via email to