From dev-return-57025-archive-asf-public=cust-asf.ponee.io@directory.apache.org Thu Jan 11 17:00:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id A3B7F18076D for ; Thu, 11 Jan 2018 17:00:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8CD75160C1F; Thu, 11 Jan 2018 16:00:05 +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 D3528160C20 for ; Thu, 11 Jan 2018 17:00:04 +0100 (CET) Received: (qmail 82620 invoked by uid 500); 11 Jan 2018 16:00:02 -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 82570 invoked by uid 99); 11 Jan 2018 16:00:02 -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, 11 Jan 2018 16:00:02 +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 CE497C01E0 for ; Thu, 11 Jan 2018 16:00:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.711 X-Spam-Level: X-Spam-Status: No, score=-100.711 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] 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 OCE-IBDi7peF for ; Thu, 11 Jan 2018 16:00:01 +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 ED6F75F4E7 for ; Thu, 11 Jan 2018 16:00:00 +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 8A68CE0E16 for ; Thu, 11 Jan 2018 16:00:00 +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 45BAD255C9 for ; Thu, 11 Jan 2018 16:00:00 +0000 (UTC) Date: Thu, 11 Jan 2018 16:00:00 +0000 (UTC) From: "Adam F (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSERVER-2217) Can't start ApacheDS on Sierra on reserved ports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322451#comment-16322451 ] Adam F commented on DIRSERVER-2217: ----------------------------------- Thank you Emmanuel for the response. Unfortunately this does not seem to be the answer. Output from console: Adams-Mac:~ adam$ netstat -a | grep 389 Adams-Mac:~ adam$ sudo netstat -a | grep 389 Password: Adams-Mac:~ adam$ sudo netstat -a | grep 636 Adams-Mac:~ adam$ Initially, I installed on a Sierra machine that had OS X server running OpenDirectory. I stopped all services and still couldn't start ApacheDS. I performed netstat commands and nothing seemed to be running on those ports. I attempted to connect via telnet just to see if something was listening and always received connection refused. I arbitrarily changed the server process to use random other reserved ports (435, 387, 388, 402, etc.) and it never would start. I even went so far as to completely remove OS X server to no avail. Thinking there was something with the machine itself, I installed a BRAND NEW copy of Sierra on a virtual machine on a different host. As you likely know, OS X does not provide an LDAP server so nothing would be running on 389 or 636 after a brand new install. I installed JVM 8 and Apache Directory Studio, nothing more. I started the server and received the exact same message. I then started Directory Studio from command line as sudo, thinking I didn't have appropriate permissions to start on reserved ports. No change. Running on unreserved ports seems to work fine. Thanks! Adam > Can't start ApacheDS on Sierra on reserved ports > ------------------------------------------------ > > Key: DIRSERVER-2217 > URL: https://issues.apache.org/jira/browse/DIRSERVER-2217 > Project: Directory ApacheDS > Issue Type: Bug > Components: ldap > Affects Versions: 2.0.0-M24 > Environment: OS X Sierra > Reporter: Adam F > Labels: newbie, usability > Attachments: Screen Shot 2018-01-10 at 2.34.05 PM.png > > > Unable to start the ApacheDS server on any reserved ports. Error message is always: "The ports of the following protocols are already in use." Confirmed repeatability on brand new OS X Sierra Virtual Machine with only JVM 8 and Directory Studio installed. Started application with sudo doesn't resolve the issue. -- This message was sent by Atlassian JIRA (v6.4.14#64029)