How to Run Directory Server as 'non-root' User on Port 389 or Privileged Port(i.e. Port < 1024)? (Doc ID 1305698.1)

Last updated on JANUARY 06, 2017

Applies to:

Oracle Directory Server Enterprise Edition - Version 5.1 and later
Information in this document applies to any platform.

Goal

When starting the Directory server on port <1024 running as a non-root user, the following error is output if the server is started as the non-root user:

 ERROR<12362> - Connection  - conn=-1 op=-1 msgId=-1 -  PR_Bind() on address <all interfaces> port <1021> failed : error -5966 (Access Denied.).


Q1: Can I run the Directory server on a port < 1024 as a non-root user?
Q2: How do I start a Directory server running on port 389 as a non-root user on Solaris 10?
Q3: On Red Hat/Linux, how can clients connect to the Directory server running on a port <1024 when the server is running as a non-root user on port >1024.


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms