Bug 152884 - Sometimes Apache fails to start
Sometimes Apache fails to start
Product: Fedora Legacy
Classification: Retired
Component: General (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Fedora Legacy Bugs
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-01-22 23:09 EST by Nigel Horne
Modified: 2007-04-18 13:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-01 16:07:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Lawrence 2005-03-30 18:30:55 EST
Sometimes Apache fails to start (see
http://faq.otrs.org/otrs/faq.pl?Action=&ID=4&SessionID= for details).

Applying this patch to /etc/rc.d/init.d/httpd fixes the problem:

*** Ohttpd      2005-01-23 09:03:25.000000000 +0000
--- httpd       2005-01-23 09:04:12.000000000 +0000
*** 49,54 ****
--- 49,56 ----
  start() {
          echo -n $"Starting $prog: "
          check13 || exit 1
+       ipcs -s | grep apache |  perl -e 'while (<STDIN>) {
+               @a=split(/\s+/); print `ipcrm sem $a[1]`}'
          daemon $httpd $OPTIONS

This patch applies to RH8.0, but almost certainly is needed for other versions
including Fedora.

------- Additional Comments From dom@earth.li 2005-01-27 14:02:55 ----

Not a security bug.

------- Additional Comments From njh@bandsman.co.uk 2005-01-27 20:09:32 ----

I never said it was a security bug.

------- Additional Comments From dom@earth.li 2005-02-22 16:12:09 ----

Hi Nigel,

Fedora Legacy's focus is on security updates. We simply don't have the resources
to handle updating packages for bugfixes like this (the fix may be trivial, but
the building, QA and release still takes time).

However, I'm leaving it open, in the event that an apache security update is
needed in future.

------- Bug moved to this database by dkl@redhat.com 2005-03-30 18:30 -------

This bug previously known as bug 2391 at https://bugzilla.fedora.us/
Originally filed under the Fedora Legacy product and General component.

Unknown priority P4. Setting to default priority "normal".
Unknown platform PC. Setting to default platform "All".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Matthew Miller 2005-04-12 10:54:10 EDT
I'm not keen on introducing perl as a requirement for the httpd startup script;
if we do patch this sometime, the fix should be something different.

That said -- Nigel, does this affect FC3 or FC4test? It may be better to move
this bug to one of those releases and get it fixed there, and then backport the
fix when we get a chance.
Comment 2 Marc Deslauriers 2005-08-01 16:07:30 EDT
We won't be fixing this in Fedora Legacy releases. If this affects a current
Fedora Core version, please reopen the bug under that version.

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