[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295915: marked as done (apache2-common: /etc/init.d/apache2 restart is like totally broken.)



Your message dated Fri, 25 Feb 2005 04:17:14 -0500
with message-id <E1D4bb0-0005vU-00@newraff.debian.org>
and subject line Bug#295915: fixed in apache2 2.0.53-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Feb 2005 01:30:05 +0000
>From andre@tomt.net Fri Feb 18 17:30:05 2005
Return-path: <andre@tomt.net>
Received: from mail1.skjellin.no (mx1.skjellin.no) [80.239.42.67] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D2JRc-0005nW-00; Fri, 18 Feb 2005 17:30:04 -0800
Received: from localhost (localhost [127.0.0.1])
	by mx1.skjellin.no (Postfix) with ESMTP id CD8CB88529;
	Sat, 19 Feb 2005 02:30:03 +0100 (CET)
Received: from rambo.skjellin.no (rambo.skjellin.no [80.239.42.80])
	by outrelay1.skjellin.no (Postfix) with ESMTP id DE11888517;
	Sat, 19 Feb 2005 02:30:02 +0100 (CET)
Received: by rambo.skjellin.no (Postfix, from userid 1000)
	id A00033E8062; Sat, 19 Feb 2005 02:30:01 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andre Tomt <andre@tomt.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache2-common: /etc/init.d/apache2 restart is like totally broken.
X-Mailer: reportbug 3.2
Date: Sat, 19 Feb 2005 02:30:01 +0100
Message-Id: <20050219013001.A00033E8062@rambo.skjellin.no>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at skjellin.no
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: apache2-common
Version: 2.0.53-4
Severity: important


/etc/init.d/apache2 restart does not work. It always tells me it is already
running, then after a little while, apache2 just dies.

Looking at the init-script, it is caused by the following lines:

echo -n "Forcing reload of web server: Apache2"
apache_stop
sleep 10
$APACHE2CTL startssl

Not only is this racy, its also extremely annoying having to wait for a restart
based on a seemingly randomly chosen value.

Changing the sleep to 20 fixes the problem here, but this is still no real fix.
One way could be having a loop that runs once a second checking if apache2 is
dead; and time out with a error after 60 seconds or so. Several other packages
implements it this way (squid comes to mind).

Funny 10 seconds is too little on a 3Ggz p4 system with no real load...

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-s0p1-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apache2-common depends on:
ii  apache2-utils               2.0.53-4     utility programs for webservers
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.8-1     XML parsing C library - runtime li
ii  libgcc1                     1:3.4.3-6    GCC support library
ii  libmagic1                   4.12-1       File type determination library us
ii  mime-support                3.28-1       MIME files 'mime.types' & 'mailcap
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  openssl                     0.9.7e-2     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-11       Simple debconf wrapper for openssl

-- no debconf information

---------------------------------------
Received: (at 295915-close) by bugs.debian.org; 25 Feb 2005 09:25:25 +0000
>From katie@ftp-master.debian.org Fri Feb 25 01:25:25 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D4biu-0003MS-00; Fri, 25 Feb 2005 01:25:24 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D4bb0-0005vU-00; Fri, 25 Feb 2005 04:17:14 -0500
From: Adam Conrad <adconrad@0c3.net>
To: 295915-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#295915: fixed in apache2 2.0.53-5
Message-Id: <E1D4bb0-0005vU-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 25 Feb 2005 04:17:14 -0500
Delivered-To: 295915-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: apache2
Source-Version: 2.0.53-5

We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:

apache2-common_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2-common_2.0.53-5_i386.deb
apache2-common_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2-common_2.0.53-5_powerpc.deb
apache2-doc_2.0.53-5_all.deb
  to pool/main/a/apache2/apache2-doc_2.0.53-5_all.deb
apache2-mpm-perchild_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2-mpm-perchild_2.0.53-5_i386.deb
apache2-mpm-perchild_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2-mpm-perchild_2.0.53-5_powerpc.deb
apache2-mpm-prefork_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.0.53-5_i386.deb
apache2-mpm-prefork_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.0.53-5_powerpc.deb
apache2-mpm-threadpool_2.0.53-5_all.deb
  to pool/main/a/apache2/apache2-mpm-threadpool_2.0.53-5_all.deb
apache2-mpm-worker_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.0.53-5_i386.deb
apache2-mpm-worker_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.0.53-5_powerpc.deb
apache2-prefork-dev_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.0.53-5_i386.deb
apache2-prefork-dev_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.0.53-5_powerpc.deb
apache2-threaded-dev_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.0.53-5_i386.deb
apache2-threaded-dev_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.0.53-5_powerpc.deb
apache2-utils_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2-utils_2.0.53-5_i386.deb
apache2-utils_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2-utils_2.0.53-5_powerpc.deb
apache2_2.0.53-5.diff.gz
  to pool/main/a/apache2/apache2_2.0.53-5.diff.gz
apache2_2.0.53-5.dsc
  to pool/main/a/apache2/apache2_2.0.53-5.dsc
apache2_2.0.53-5_i386.deb
  to pool/main/a/apache2/apache2_2.0.53-5_i386.deb
apache2_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/apache2_2.0.53-5_powerpc.deb
libapr0-dev_2.0.53-5_i386.deb
  to pool/main/a/apache2/libapr0-dev_2.0.53-5_i386.deb
libapr0-dev_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/libapr0-dev_2.0.53-5_powerpc.deb
libapr0_2.0.53-5_i386.deb
  to pool/main/a/apache2/libapr0_2.0.53-5_i386.deb
libapr0_2.0.53-5_powerpc.deb
  to pool/main/a/apache2/libapr0_2.0.53-5_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 295915@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (supplier of updated apache2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 25 Feb 2005 00:51:13 -0700
Source: apache2
Binary: apache2-utils apache2 apache2-prefork-dev apache2-mpm-prefork apache2-doc libapr0-dev apache2-mpm-threadpool apache2-mpm-worker libapr0 apache2-threaded-dev apache2-common apache2-mpm-perchild
Architecture: all i386 powerpc source 
Version: 2.0.53-5
Distribution: unstable
Urgency: high
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Adam Conrad <adconrad@0c3.net>
Description: 
 apache2    - next generation, scalable, extendable web server
 apache2-common - next generation, scalable, extendable web server
 apache2-mpm-perchild - experimental high speed perchild threaded model for Apache2
 apache2-mpm-prefork - traditional model for Apache2
 apache2-mpm-worker - high speed threaded model for Apache2
 apache2-prefork-dev - development headers for apache2
 apache2-threaded-dev - development headers for apache2
 apache2-utils - utility programs for webservers
 libapr0    - the Apache Portable Runtime
 libapr0-dev - development headers for libapr
Closes: 281557 295428 295915
Changes: 
 apache2 (2.0.53-5) unstable; urgency=high
 .
   * Update 040_link_external_pcre to require autoconf 2.50, so it
     doesn't fail when autoconf2.13 is installed (closes: #295428)
   * Further mangle the apache_stop function in the init script so it
     attempts as hard as possible to make sure apache2 is stopped before
     it tries to restart.  Thanks to Andre Tomt <andre@tomt.net> for
     the bug and patch this fix was based on (closes: #295915, #281557)
Files: 
 0d060d66b3a1e6ec0b9c58e995f7b9f7 105448 net optional apache2_2.0.53-5.diff.gz
 2931a7f68d4e6d852204460d39b10e05 204496 net optional apache2-mpm-worker_2.0.53-5_i386.deb
 2fa3572d4ab4cd0d33f4f69a4c1c30b8 3577068 doc optional apache2-doc_2.0.53-5_all.deb
 3ccc32ee9717d7a753d470b66df82d08 201200 net optional apache2-mpm-prefork_2.0.53-5_i386.deb
 40e3cae86097415509b0bd81d7c1f294 100964 net optional apache2-utils_2.0.53-5_powerpc.deb
 4df83e057ceb0b65a708331d78add19d 212962 net optional apache2-mpm-perchild_2.0.53-5_powerpc.deb
 4f136e6e003d6e71f71ea7c9ede77674 205208 net optional apache2-mpm-perchild_2.0.53-5_i386.deb
 5acd04d4cc6e9d1530aad04accdc8eb5 797658 net optional apache2-common_2.0.53-5_i386.deb
 65ac862d15f3b29892f711b2de59cee1 32394 web optional apache2_2.0.53-5_i386.deb
 67e5e3b542f722cda16a761d2849a652 270926 libdevel optional libapr0-dev_2.0.53-5_powerpc.deb
 6bc88d6cb4d5cad12315ba3a6260ac9d 32462 net optional apache2-mpm-threadpool_2.0.53-5_all.deb
 6cca23adcf8233539d5cbe217326c48f 129276 net optional libapr0_2.0.53-5_i386.deb
 d94c995bde2f13e04cdd0c21417a7ca5 1141 net optional apache2_2.0.53-5.dsc
 769efcc86a88c28e164581af3157aab7 208092 net optional apache2-mpm-prefork_2.0.53-5_powerpc.deb
 78c33e4eb527237133721d2ffc70acee 258452 libdevel optional libapr0-dev_2.0.53-5_i386.deb
 820f6d9d9a1851bcf943d5f85c6dcd2f 166930 devel optional apache2-threaded-dev_2.0.53-5_i386.deb
 8b1cfb52155f381665050782d5c16167 166160 devel optional apache2-prefork-dev_2.0.53-5_i386.deb
 98e1f17540ebc328a63486ed6d22b859 89980 net optional apache2-utils_2.0.53-5_i386.deb
 a437325d4f737d7c2a9e501bd50de832 212030 net optional apache2-mpm-worker_2.0.53-5_powerpc.deb
 a9400a71731219b72996d368c26383e2 32390 web optional apache2_2.0.53-5_powerpc.deb
 bc61fda21645097a67ce080c1d9bf79c 133244 net optional libapr0_2.0.53-5_powerpc.deb
 e0060e60ef5f869982cfbe3a51737ccb 853970 net optional apache2-common_2.0.53-5_powerpc.deb
 f6a28e9e70313243a2b3479bb14d5306 166164 devel optional apache2-prefork-dev_2.0.53-5_powerpc.deb
 f9ffa54b31baeef27ba437cc6dca9a50 166950 devel optional apache2-threaded-dev_2.0.53-5_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCHul5vjztR8bOoMkRAjoWAKDZSKutOc7qUnoZdUDjTgbdWu40/ACePzAX
BTffS5lLzXMYKK/qZTHSFDw=
=kPtT
-----END PGP SIGNATURE-----



Reply to: