From: dgaudet Date: Sat, 14 Feb 1998 13:06:25 +0000 (+0000) Subject: I am tired tired tired of dealing with "kill -9" and "killall -whatever httpd" bugs X-Git-Tag: APACHE_BIG_SYMBOL_RENAME_POST~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87bc4d22af2fab55879367eba639d2a4ab05cdd3;p=apache I am tired tired tired of dealing with "kill -9" and "killall -whatever httpd" bugs git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80211 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/misc/FAQ.html b/docs/manual/misc/FAQ.html index c1237dc271..1deb331605 100644 --- a/docs/manual/misc/FAQ.html +++ b/docs/manual/misc/FAQ.html @@ -15,7 +15,7 @@

Apache Server Frequently Asked Questions

- $Revision: 1.106 $ ($Date: 1998/02/11 15:14:33 $) + $Revision: 1.107 $ ($Date: 1998/02/14 13:06:25 $)

The latest version of this FAQ is always available from the main @@ -258,6 +258,13 @@

  • I upgraded to Apache 1.3b and now my virtual hosts don't work!
  • +
  • I'm using RedHat Linux and I have problems with httpd + dying randomly or not restarting properly +
  • +
  • I upgraded from an Apache version earlier + than 1.2.0 and suddenly I have problems with Apache dying randomly + or not restarting properly +
  • @@ -2170,6 +2177,61 @@
    +
  • I'm using RedHat Linux and I have problems with httpd + dying randomly or not restarting properly + +

    RedHat Linux versions 4.x (and possibly earlier) rpms contain + various nasty scripts which do not stop or restart Apache properly. + These can affect you even if you're not running the RedHat supplied + rpms. + +

    If you're using the default install then you're probably running + Apache 1.1.3, which is outdated. From RedHat's ftp site you can + pick up a more recent RPM for Apache 1.2.x. This will solve one of + the problems. + +

    If you're using a custom built Apache rather than the RedHat rpms + then you should rpm -e apache. In particular you want + the mildly broken /etc/logrotate.d/apache script to be + removed, and you want the broken /etc/rc.d/init.d/httpd + (or httpd.init) script to be removed. The latter is + actually fixed by the apache-1.2.5 rpms but if you're building your + own Apache then you probably don't want the RedHat files. + +

    We can't stress enough how important it is for folks, especially + vendors to follow the stopping Apache + directions given in our documentation. In RedHat's defense, + the broken scripts were necessary with Apache 1.1.x because the + Linux support in 1.1.x was very poor, and there were various race + conditions on all platforms. None of this should be necessary with + Apache 1.2 and later. +

    +
    +
  • + +
  • I upgraded from an Apache version earlier + than 1.2.0 and suddenly I have problems with Apache dying randomly + or not restarting properly + +

    You should read the previous note about + problems with RedHat installations. It is entirely likely that your + installation has start/stop/restart scripts which were built for + an earlier version of Apache. Versions earlier than 1.2.0 had + various race conditions that made it necessary to use + kill -9 at times to take out all the httpd servers. + But that should not be necessary any longer. You should follow + the directions on how to stop + and restart Apache. + +

    As of Apache 1.3 there is a script + src/support/apachectl which, after a bit of + customization, is suitable for starting, stopping, and restarting + your server. +

    +
    + +
  • +