[ 
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)

Reply via email to