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 00441200CA3 for ; Thu, 1 Jun 2017 12:26:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F254F160BC4; Thu, 1 Jun 2017 10:26:08 +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 4148A160BB5 for ; Thu, 1 Jun 2017 12:26:08 +0200 (CEST) Received: (qmail 36292 invoked by uid 500); 1 Jun 2017 10:26:07 -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 36282 invoked by uid 99); 1 Jun 2017 10:26:07 -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; Thu, 01 Jun 2017 10:26:07 +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 F2B64C0C42 for ; Thu, 1 Jun 2017 10:26:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id lFX3DeWmY8Db for ; Thu, 1 Jun 2017 10:26:06 +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 64BA45FC3A for ; Thu, 1 Jun 2017 10:26:05 +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 A352CE0630 for ; Thu, 1 Jun 2017 10:26:04 +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 0ECF121B56 for ; Thu, 1 Jun 2017 10:26:04 +0000 (UTC) Date: Thu, 1 Jun 2017 10:26:04 +0000 (UTC) From: "Milad Hamid (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSTUDIO-1146) The port of protocol LDAP port 10389 is already in use ! MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Jun 2017 10:26:09 -0000 [ https://issues.apache.org/jira/browse/DIRSTUDIO-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032753#comment-16032753 ] Milad Hamid commented on DIRSTUDIO-1146: ---------------------------------------- Thanks [~elecharny] for solving port issue, now after running my Master Server, I tried to run my second server which is my Slave server ( I named them because my main goal is to have replication from my master server: partitions and objects into Slave Server) but this time I got this error message: run has been locked by another directory service. [12:18:05] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service. java.lang.RuntimeException: the working directory C:\Users\...\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.ldapservers\servers\4be74ce8-e1s7-4002-881a-c6b1ebd43fdd\run has been locked by another directory service. at org.apache.directory.server.core.DefaultDirectoryService.lockWorkDir(DefaultDirectoryService.java:2189) at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1223) at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:367) at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:183) at org.apache.directory.server.UberjarMain.start(UberjarMain.java:151) at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77) [12:18:05] INFO [org.apache.directory.server.UberjarMain] - Stopping the service. [12:18:05] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service. java.lang.NullPointerException at org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:626) at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:210) at org.apache.directory.server.UberjarMain.start(UberjarMain.java:158) at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77) > The port of protocol LDAP port 10389 is already in use ! > -------------------------------------------------------- > > Key: DIRSTUDIO-1146 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1146 > Project: Directory Studio > Issue Type: Bug > Components: studio-apacheds, studio-ldapservers > Environment: Apache Directory Studio 2.0.0-M12 and ApacheDs 2.0.0-M23 are installed on Windows 10 64 bit. > Reporter: Milad Hamid > Attachments: apacheds.log > > > Hi, > Each time i am trying to start/run my LdapServer (ApacheDS 2.0.0 Server) within Apache Studio I got this message, and the server has Stopped state. > When I checked the log i got this error message: ERR_171 Failed to bind an LDAP service (10,389) to the service registry / Error while binding on /0.0.0.0:10389 original message : Address already in use: bind > I used my cmd prompt and checked all ports and this port is available. -- This message was sent by Atlassian JIRA (v6.3.15#6346)