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 BD82C200C43 for ; Sun, 26 Mar 2017 13:36:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BC2A1160B87; Sun, 26 Mar 2017 11:36:50 +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 0E754160B6B for ; Sun, 26 Mar 2017 13:36:49 +0200 (CEST) Received: (qmail 87351 invoked by uid 500); 26 Mar 2017 11:36:49 -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 87341 invoked by uid 99); 26 Mar 2017 11:36:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Mar 2017 11:36:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CE2AB185CAB for ; Sun, 26 Mar 2017 11:36:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id vcYAlvcdzx_v for ; Sun, 26 Mar 2017 11:36:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C8D815FBA1 for ; Sun, 26 Mar 2017 11:36:46 +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 86EEEE06BA for ; Sun, 26 Mar 2017 11:36:42 +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 B15C42406F for ; Sun, 26 Mar 2017 11:36:41 +0000 (UTC) Date: Sun, 26 Mar 2017 11:36:41 +0000 (UTC) From: "Ramon Batlle (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [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! MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 26 Mar 2017 11:36:50 -0000 [ https://issues.apache.org/jira/browse/DIRSERVER-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942244#comment-15942244 ] Ramon Batlle edited comment on DIRSERVER-2116 at 3/26/17 11:36 AM: ------------------------------------------------------------------- I'm having the SAME issue: Steps to reproduce it: 1.- Start the ApacheDS server 2.- Create a connection to it 3.- Close connection 4.- Restart the ApacheDS server I'm using ApacheDS 2.0.0-M23 and Apache Studio 2.0.0-M12 was (Author: rbatllet): I'm having the SAME issue: Steps to reproduce it: 1.- Start the ApacheDS server 2.- Create a connection to the ApacheDS Server 3.- Close connection 4.- Restart the ApacheDS server I'm using ApacheDS 2.0.0-M23 and Apache Studio 2.0.0-M12 > 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, org.apache.directory.studio.ldapservers-2017-02-07.zip, org.apache.directory.studio.ldapservers-2017-02-07.zip > > > 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)