Starting HTTP Server fails with "Time Out While Waiting For a Managed Process to Start" with WebGate is Configured
(Doc ID 1916960.1)
Last updated on AUGUST 27, 2018
Applies to:Oracle HTTP Server - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
On : 184.108.40.206.0 version,
The Oracle HTTP Server will not start using "opmnctl startproc process-type=OHS" and it returns the following errors:
time out while waiting for a managed process to start
The <instance_home>/diagnostics/logs/OHS/ohs1/console~OHS~1.log shows the following message:
The following steps were taken to determine what was preventing OHS from starting.
1. The processes for httpd were grepped using "ps -ef | grep httpd" and then "kill -9 <pid>"; remove the opmn/states directory and use "opmnctl startproc process-type=HTTP_Server". OHS still fails to start.
2. The <start timeout="300" /> was added to opmn.xml file as described within < Note: 821419.1> (OPMN Fails to Start HTTP Server - "Time Out While Waiting For a Managed Process to Start"), but the OHS still failed to start.
3. The "apachectl start -f $httpd_conf" allows OHS to start.
a. Create a script, call it startup.sh, and put in these commands:
b. Save the file and change permissions, chmod +x startup.sh, then source it "source ./startup.sh"
c. Start OHS using apachectl start -f $httpd_conf
./apachectl start: execing httpd
[Fri Aug 08 21:31:27 2014] [warn] Errors will be logged into <instance_home>/diagnostics/logs/OHS/ohs1/ohs1.log
d. Grep for httpd processes:
java-sup 11159 11151 0 19:04:59 ? 0:01 <oracle_home>/ohs/bin/httpd.worker -k start -f /ho
java-sup 11151 4519 0 19:04:58 ? 0:01 <oracle_home>/ohs/bin/httpd.worker -k start -f /ho
java-sup 11158 11151 0 19:04:59 ? 0:01 <oracle_home>/ohs/bin/httpd.worker -k start -f /ho
java-sup 27751 26207 0 21:32:26 pts/5 0:00 grep httpd
e. Run "netstat -an | grep <http_port>" and it shows as listening.
4. If all the include files, including webgate.conf include are commented out in the httpd.conf file, then OHS starts:
5. Now uncomment each include line in the httpd.conf file one by one. When the webgate.conf file is uncommented out, then OHS does not start.
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