Graceful Stop of HTTP Server Process Failed With the Error "hardstop: httpd (no pid file) not running" Due to PidFile Directive Mis-match

(Doc ID 727727.1)

Last updated on SEPTEMBER 13, 2017

Applies to:

Oracle HTTP Server - Version 10.1.2.0.2 to 11.1.1.9.0 [Release AS10gR2 to Oracle11g]
Information in this document applies to any platform.

Symptoms

Stopping the HTTP Server using OPMN results in a time out (after about 10 minutes) and the remaining process has to be killed manually.

opmnctl: stopping opmn and all managed processes...
0 of 1 processes stopped.

ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server

Error
--> Process (pid=3659)
time out while waiting for a managed process to stop
Log:
/opt/oracle/ias/opmn/logs/HTTP_Server~1

opmnctl: graceful stop of processes failed, trying forceful shutdown...



The HTTP_Server~1 shows a PID file problem:

08/07/07 18:05:34 Stop process
/opt/oracle/ias/Apache/Apache/bin/apachectl hardstop: httpd (no pid file) not running

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms