Red Hat Bugzilla – Bug 32231
init script kills httpd's that don't belong to it and won't start while other
Last modified: 2007-04-18 12:32:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.18 i686; Nav)
I have multiple copies of apache running for different purposes. I would
like to use redhats apache package but the init script kills all httpd
instances even ones it doesn't own!
also if you change the port /etc/init.d/httpd start fails it sees the other
httpd's and assumes it is running!
the apachectl script is far better in these respects (i have 3 different
apache installation which can be turned on and off seperately).
Steps to Reproduce:
1. have your own version of apache running
2. install the apache packages
3. (opt) change the port
4. use redhat's /etc/init.d/httpd stop
5. see you own apache stop
Actual Results: all apache servers stop
Expected Results: just the redhat apache server should stop
The killproc function (defined by the initscripts package) which the init script
uses has been modified (in Raw Hide) to stop the process listed in the pid file
first, so this should resolve the problem. The apachectl script doesn't have
the logic to start the server up with the parameters needed to load the
installed modules, so it wouldn't Just Work, even if we included it.