Bug 32231 - init script kills httpd's that don't belong to it and won't start while other
init script kills httpd's that don't belong to it and won't start while other
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-19 10:27 EST by Neil Prockter
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-19 10:27:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Neil Prockter 2001-03-19 10:27:11 EST
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).

Reproducible: Always
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

using apache-1.3.14-3
Comment 1 Nalin Dahyabhai 2001-03-28 18:37:40 EST
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.

Note You need to log in before you can comment on or make changes to this bug.