My Oracle Support Banner

How to Run Native Apache Commands in an Oracle HTTP Server 11g Environment (Doc ID 946532.1)

Last updated on MAY 01, 2024

Applies to:

Oracle Fusion Middleware - Version to [Release Oracle11g]
Oracle HTTP Server - Version to [Release Oracle11g]
Information in this document applies to any platform.


This document provides scripts to set the environment for a command line session such that native Apache commands can be run from a Fusion Middleware 11g Oracle HTTP Server home. The scripts also automatically dump the following data using native apache commands which do not require any Apache processes to be running.


This document is intended for support engineers, consultants, system administrators. The scripts should only be used for diagnosing problems.

Important Note:

In normal circumstances native apache commands should NOT be used to start and stop Oracle HTTP Server. (OHS). OHS should be started up via one of the supported methods i.e OPMN (opmnctl) or Fusion Middleware Control.

Furthermore, running native "apache" commands is not the only method for troubleshooting Oracle HTTP Server issues. It is a method which supplements advice given in the product documentation and other knowledge articles. Check out:

Oracle Fusion Middleware Administrator's Guide for Oracle HTTP Server 11g Release 1 (11.1.1)

<Note 1303000.1> How to Troubleshoot Oracle Fusion Middleware 11g OPMN Issues?
<Note 280165.1> Troubleshooting Oracle HTTP Server Using /server-status (mod_status)
<Note 967889.1> How to View Oracle HTTP Server 11g MOD_WL_OHS Routing and Other Debug Information?
<Note 1304095.1> Oracle Fusion Middleware 11g - Troubleshooting the Error "Failure of server APACHE bridge"


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
 Background Information
 Scripts for MS Windows
 Wrapper Script
 Main script
 Script for UNIX

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