https://issues.apache.org/bugzilla/show_bug.cgi?id=54519
Bug ID: 54519
Summary: httpd already running
Product: Apache httpd-2
Version: 2.2.22
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
If httpd dies and leaves behind a pidfile containing a pid which later gets
reused, the httpd refuses to come back up. I've already seen this in
production, where a host has crashed and on coming back up the web server fails
to start because something else has grabed the pid.
To reproduce the problem, do this:
[root@laptop httpd]# pkill -9 httpd
[root@laptop httpd]# pgrep httpd
[root@laptop httpd]# echo 1 > /var/run/httpd/httpd.pid
[root@laptop httpd]# /usr/sbin/httpd -k start
httpd: Could not reliably determine the server's fully qualified domain name,
using fe80::201:4aff:fe5e:5331 for ServerName
httpd (pid 1) already running
This is the version I'm using:
[quick@laptop ~]$ httpd -v
Server version: Apache/2.2.22 (Unix)
Server built: Apr 30 2012 09:55:05
[quick@laptop ~]$ cat /etc/redhat-release
Fedora release 17 (Beefy Miracle)
I tested this out on RHEL6 which ships with httpd 2.2.15 and noted that doesn't
suffer the same problem, however I can't see anything in the changelog between
versions 2.2.15 and 2.2.22 which would have caused this problem to occur.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]