Enable port 80 on Oracle 10gas

Problem Description : 

Special steps to enable using port 80 (or any port &lt1024) on Oracle 10gas

 

 

 Resolution : 

Running Oracle HTTP Server as Root

 

On UNIX, you will hare to run as root if you want to run on ports less than 1024.

 

In order to run Oracle HTTP Server as root, perform the following steps:

 

 1. Shutdown Oracle HTTP Server using the following command:

 * UNIX: ORACLE_HOME/opmn/bin> opmnctl [verbose] stopproc ias-component=HTTP_Server

 * Windows: ORACLE_HOME\opmn\bin> opmnctl [verbose] stopproc ias-component=HTTP_Server

 2. Change to root user. Navigate to ORACLE_HOME/Apache/Apache/bin on UNIX or ORACLE_HOME\Apache\Apache\bin on Windows and execute the following command:

 

 chown root .apachectl

 chmod 6750 .apachectl

 

 3. Exit root.

 4. Restart Oracle HTTP Server using the following command:

 * UNIX: ORACLE_HOME/opmn/bin> opmnctl [verbose] restartproc ias-component=HTTP_Server

 * Windows: ORACLE_HOME\opmn\bin> opmnctl [verbose] restartproc ias-component=HTTP_Server

 

On Windows, Oracle HTTP Server launches a single parent process and one child process. The child process creates multiple threads that listen and respond to client requests.

 

You must decide how you want to set Oracle HTTP Server to handle processes or threads.

 

 

 Revision Date : 5/2/2007