My Oracle Support Banner

OHS: HTTP_Server Fails to Start Using "opmnctl startall" with Error "mod_oc4j: Error happened while finalizing configuration and OC4J Plugin will not work. Is about to exit" from ORACLE_HOME/Apache/Apache/logs/error_log (Doc ID 2236181.1)

Last updated on OCTOBER 10, 2018

Applies to:

Oracle HTTP Server - Version 10.1.3.1.0 to 10.1.3.5.0 [Release AS10gR3]
Generic UNIX

Symptoms

On: OAS 10.1.3.1

The <ORACLE_HOME>/opmn/bin/opmnctl startall does not start Oracle HTTP_Server. 

The <ORACLE_HOME/opmn/logs/HTTP_Server~1.log shows the following errors:

--------
17/02/21 18:26:12 Start process
--------
/app/Oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl startssl: execing httpd
[Tue Feb 21 18:26:12 2017] [debug] mod_onsint.c(1193): mod_onsint: after parsing OpmnHostPort directive, got a hostport with host:127.0.0.1, port:7200 and is_ssl:0.
[Tue Feb 21 18:26:12 2017] [debug] swwwap.c(1283): mod_plsql: plsql_create_server_config called

--------
17/02/21 18:28:14 Stop process
--------
/app/Oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl stop: httpd (no pid file) not running

--------
17/02/21 18:29:16 Stop process
--------
/app/Oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl hardstop: httpd (no pid file) not running

--------
17/02/21 18:30:18 Stop process
--------
/app/Oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl hardstop: httpd (no pid file) not running

--------
17/02/21 18:31:20 Stop process
--------
/app/Oracle/product/10.1.3.1/OracleAS_1/Apache/Apache/bin/apachectl hardstop: httpd stopped


The <ORACLE_HOME>/Apache/Apache/logs/error_log shows the following errors:

[Tue Feb 21 19:29:11 2017] [debug] swwwap.c(976): mod_plsql: plsql_start called
[Tue Feb 21 19:31:13 2017] [error] mod_oc4j: pt_alloc failed
[Tue Feb 21 19:31:13 2017] [error] mod_oc4j: Failed allocate 4 bytes in shared memory for dyn_uri_head_addr.
[Tue Feb 21 19:31:13 2017] [emerg] mod_oc4j: Error happened while finalizing configuration and OC4J Plugin will not work. Is about to exit.
[Tue Feb 21 19:31:13 2017] [emerg] mod_oc4j: failed to initialize

 

Cause

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
Symptoms
Cause
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.