Apache 2.4.61 and "failed to remove PID file"

5 views
Skip to first unread message

Massimo S.

unread,
Sep 7, 2026, 7:41:29 AM (4 days ago) Sep 7
to apa...@googlegroups.com
Hi Paul,

i've a bit of "spare time" and i'm watching some exit about apache..

Build: httpd-2.4.61-os2-debug-20240707.zip

I guess there is still around the http.PID issue..

Sometimes i get:

[Mon Sep 07 12:13:49.937000 2026] [core:error] [pid 415:tid 1] (13)Permission denied: AH00095: failed to
remove PID file x:/apache/logs/httpd.pid

[Mon Sep 07 12:13:49.937000 2026] [mpm_mpmt_os2:notice] [pid 415:tid 1] AH00201: caught SIGTERM, shutting down



This part probably is the rexx fault daemon that try to restart apache, but it fail:

[Mon Sep 07 12:14:20.000000 2026] [core:warn] [pid 2029:tid 1] AH00098: pid file x:/apache/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?


[Mon Sep 07 12:14:20.000000 2026] [core:error] [pid 2029:tid 1] (OS 32)SYS0032: The process cannot access the
file because it is being used by another process. : AH10231: httpd.exe: Failed creating pid file
x:/apache/logs/httpd.pid.wgWIqv

There are no httpd "zombi" processes, there are no "php.exe stuff" (i don't use php.exe at all), therea re no
issues on sockets/stack IP.

I don't understand this message: Permission denied: AH00095: failed to remove PID file x:/apache/logs/httpd.pid

If i restart apache manually it start again correctly, no need to reboot the VM.

Any help?


massimo
Reply all
Reply to author
Forward
0 new messages