Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BF1C1200C0D for ; Tue, 31 Jan 2017 19:47:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BDDD7160B5F; Tue, 31 Jan 2017 18:47:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED0F7160B36 for ; Tue, 31 Jan 2017 19:47:55 +0100 (CET) Received: (qmail 75563 invoked by uid 500); 31 Jan 2017 18:47:55 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 75543 invoked by uid 99); 31 Jan 2017 18:47:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2017 18:47:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8960AC0A82 for ; Tue, 31 Jan 2017 18:47:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mExgqYYDYzuK for ; Tue, 31 Jan 2017 18:47:53 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2F3EA5F30D for ; Tue, 31 Jan 2017 18:47:53 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5FC66E040C for ; Tue, 31 Jan 2017 18:47:52 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9549B2528C for ; Tue, 31 Jan 2017 18:47:51 +0000 (UTC) Date: Tue, 31 Jan 2017 18:47:51 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (DIRSERVER-2116) ApacheDS failed to start after every reboot and throwing error ERR_250_ENTRY_ALREADY_EXISTS dc=example,dc=com already exists! MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 31 Jan 2017 18:47:56 -0000 [ https://issues.apache.org/jira/browse/DIRSERVER-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847284#comment-15847284 ] Emmanuel Lecharny commented on DIRSERVER-2116: ---------------------------------------------- ApacheDS itself require some loves in many areas, but mainly on replication, ACLs and administrative model. It's tricky, and requires quite a lot of mojo (aka, understanding the ApacheDS internals). Not sure that would be the starting point. Mavibot is currenlty in active development. As I said, I rebooted the effort a few weeks ago, and I now have a code that is 4x faster for updates than the latest released Mavibot version, but it's also buggy and non complete yet, but I'm confident I can get it done in a few weeks (and that will solve many of the issues we currently have, including yours). Studio is different : it relies on the LDAP API, which is almost code complete, and has a modular architcture. That would be a good starting point for someone wanting to give a hand. Now, the thing is that we started to work on a configuration editor for OpenLDAP, which is currently half backed (ie, most of the generic eements are already working, but we have to complete teh ACL parts, and not all the modules/overlays are supported). It's not included in any release, but it's available in the source code. I can give a hand, as I worked on this part (please have a loo at http://www.slideshare.net/ldapcon/openldap-configuration-brought-to-apache-directory-studio). And, *disclaimer*, I work with the OpenLDAP people, so I can also give an hand in this area. OpenLDAP is not user friendly, but it's usable. It's fast, it's rock solid, too. IMO, ApacheDS is to OpenLDAP what tomcat was to Websphere a decade ago. We developped it so that it gives a very good compatible LDAP server, easy to start, good for testing purpose, and easy to migrate to OpenLDAP in production later on - and eventually keep it in production if it's enough for the applications need -. You can see that Tomcat is now used in production, because it's enough most of the time : same thing for ApacheDS, but we are not as solid as Tomcat is now. Regarding 1.5, no, its dead. And it's not enymore solid than 2.0.0-M23. The thing is that we made a mistake 10 years ago, when we switched from Java 1.4 to Java 5 : we decided to use a x.5 number to reflect tis change (pretty much what tomcat with 5.5). We kept going up to 1.5.7, then decided that it was stupid, and switched to Milestones, ie, 1.5.7 -> 2.0.0-M1. But you can play with 1.5, if you like :-) > 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 > > > 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)