You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Steve Sobol (JIRA)" <ji...@apache.org> on 2017/02/07 18:35:41 UTC
[jira] [Comment Edited] (DIRSERVER-2116) ApacheDS failed to start
after every reboot and throwing error ERR_250_ENTRY_ALREADY_EXISTS
dc=example,dc=com already exists!
[ https://issues.apache.org/jira/browse/DIRSERVER-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15856497#comment-15856497 ]
Steve Sobol edited comment on DIRSERVER-2116 at 2/7/17 6:34 PM:
----------------------------------------------------------------
Windows 10 pro with all updates. Studio 2.0.0v20161101-M12
STEP 1
======
Create a new server
Open Configuration
Disable LDAPS and set LDAP to port 9389
Turn off anonymous access; enable access control
Do not enable Kerberos server
Create partition, id *lobosstudios*, suffix *dc=lobosstudios,dc=com*
Save changes
At this point, I can start the server. I just took the steps described here to create a new server, and I exported *everything* (from the Root DSE down) from Studio. I'll attach the LDIF file.
Around the second or third time I try to start the server - THAT is when things break. I'd like to do another export once things have broken, but I won't be able to do it from Studio. Does ApacheDS have a command-line utility like OpenLDAP's slapcat?
was (Author: stevesobol):
Windows 10 pro with all updates. Studio 2.0.0v20161101-M12
STEP 1
======
Create a new server
Open Configuration
Disable LDAPS and set LDAP to port 9389
Turn off anonymous access; enable access control
Do not enable Kerberos server
Create partition, id dc=lobosstudios,dc=com, suffix dc=lobosstudios,dc=com
Save changes
At this point, I can start the server. I just took the steps described here to create a new server, and I exported *everything* (from the Root DSE down) from Studio. I'll attach the LDIF file.
Around the second or third time I try to start the server - THAT is when things break. I'd like to do another export once things have broken, but I won't be able to do it from Studio. Does ApacheDS have a command-line utility like OpenLDAP's slapcat?
> ApacheDS failed to start after every reboot and throwing error ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists!
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRSERVER-2116
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2116
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 2.0.0-M21
> Environment: Ubuntu 14.04.3 LTS trusty
> Reporter: AADI
> Fix For: 2.0.0-M24
>
> Attachments: complete-dump-2017-02-07.ldif
>
>
> HI
> I downloaded ApcheDS Debian Package (apacheds-2.0.0-M21-amd64.deb )
> and installed on Ubuntu server for my personal testing of LDAP .
> It worked very well after i installed and configured on my server .
> But problems arise when my server rebooted every-time .
> After every reboot i have to start the ApacheDS server manually by follwing command
> *sudo /etc/init.d/apacheds-2.0.0-M21-default start
> And immediately i got following reply
> Starting ApacheDS - default...
> ApacheDS - default is already running. *
> But this is not true. i observed there is no process running which are associated with ApacheDS in OS
> After referring the one of the solution given in this list i just clear the pid file contents ( /var/lib/apacheds-2.0.0-M21/default/run/apacheds-default.pid) and overcome the first problem .
> But still it failed to start and i observed below errors in log file
> {color:red}
> {{jvm 1 | [15:51:29] 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 dc=example,dc=com already exists!
> jvm 1 | at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94)
> jvm 1 | at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1813)
> jvm 1 | at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1250)
> jvm 1 | at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:318)
> jvm 1 | at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:182)
> jvm 1 | at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
> jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) }}{color}
> i would like to know that should i reinstall the ApacheDS evertyime when server reboot ?
> i tried several solutions mentioned in web to overcome this none worked for me except reinstall
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)