My Oracle Support Banner

id: illegal option -- n When Configuring OHS to Listen on Privileged Port in 12c (Doc ID 1609908.1)

Last updated on SEPTEMBER 11, 2023

Applies to:

Oracle HTTP Server - Version 12.1.2.0.0 and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)

Goal

The documentation for 12.1.2 OHS explaining how to have OHS run on priviliged ports (lower than 1024), lists this command to execute to create the .cab file:

echo `id -ng`: bind > /tmp/cap.ora

However, on Solaris the results of running this command can be as follows:

$ echo `id -ng`: bind > /tmp/cap.ora
id: illegal option -- n

What are the correct steps for Solaris to run OHS on privileged ports (443 and 80), if this error occurs?
 

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.