My Oracle Support Banner

ODSEE / OUD - How to Run Directory Server as 'non-root' User on a Privileged Port (Port < 1024)? (Doc ID 1305698.1)

Last updated on NOVEMBER 16, 2023

Applies to:

Oracle Directory Server Enterprise Edition - Version 5.1 and later
Oracle Unified Directory - Version 11.1.1.5.0 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 the Directory server be run on a port < 1024 as a non-root user?
Q2: How to start a Directory server running on the standard LDAP_PORT 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?

This document was originally written for ODSEE.
For OUD-specific information -
OUD 12c - How to Install OUD Directory Server Instance Over Standard LDAP Ports with a Non-Root User on Linux (Doc ID 2425493.1)

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.