Report forwarded to debian-devel@lists.debian.org:
Bug#4093.   debian-devel@lists.debian.org  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to Yves Arrouye <Yves.Arrouye@marin.fdn.fr>:
New bug report received and forwarded.

Your message didn't have a Package: line at the start (in the pseudo-header following the real mail header), or didn't have a psuedo-header at all.

This makes it much harder for us to categorise and deal with your problem report; please ensure that you say which package(s) and version(s) the problem is with next time. Some time in the future the problem reports system may start rejecting such messages.

  Yves Arrouye <Yves.Arrouye@marin.fdn.fr>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at submit) by bugs.debian.org; 10 Aug 1996 08:48:49 +0000 Received: (qmail-queue invoked from smtpd); 10 Aug 1996 08:30:16 -0000 Received: from r2d2.fdn.org (193.55.4.56) by master.debian.org with SMTP; 10 Aug 1996 08:30:15 -0000 Received: (from uucp@localhost) by r2d2.fdn.org (8.7.1/8.6.9) with UUCP id KAA08621 for submit@bugs.debian.org; Sat, 10 Aug 1996 10:26:53 +0200 (MET DST) Received: (from arrouye@localhost) by marin.fdn.fr (8.7.5/8.7.3) id BAA20676 for submit@bugs.debian.org; Sat, 10 Aug 1996 01:22:51 +0200 Date: Sat, 10 Aug 1996 01:22:51 +0200 From: Yves Arrouye Message-Id: <199608092322.BAA20676@marin.fdn.fr> X-Mailer: Mail User's Shell (7.2.6unoff 7/17/96) To: submit@bugs.debian.org Subject: start-stop-daemon fails to kill process Maybe should it kill the process whose pid is in the pidfile, even if it does not think the executable is running? Here is an example of the problem: marin66# /etc/init.d/apache stop no /usr/sbin/apache found; none killed. marin67# cat /var/run/apache/apache.pid 12707 marin68# ps -ax|grep 12707 12707 ? S 0:00 /usr/sbin/apache 20378 p9 S 0:00 grep 12707 And /etc/init.d/apache is: #! /bin/sh # # apache Start the apache HTTP server. # # PATH=/bin:/usr/bin:/sbin:/usr/sbin DAEMON=/usr/sbin/apache NAME=apache test -f $DAEMON || exit 0 if [ -d /var/run/apache ] then PIDFILE=/var/run/apache/$NAME.pid else PIDFILE=/var/run/$NAME.pid fi case "$1" in start) start-stop-daemon --start --verbose --pidfile $PIDFILE --exec $DAEMON ;; stop) start-stop-daemon --stop --verbose --pidfile $PIDFILE --exec $DAEMON ;; reload) echo "Reloading $NAME configuration files" start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE \ --exec $DAEMON ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|reload}" exit 1 ;; esac exit 0 --   Information forwarded to debian-devel@lists.debian.org:
Bug#4093.   debian-devel@lists.debian.org  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to Ian Jackson <ian@chiark.chu.cam.ac.uk>:
Extra info received and forwarded to list.   Ian Jackson <ian@chiark.chu.cam.ac.uk>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 4093) by bugs.debian.org; 10 Aug 1996 17:09:11 +0000 Received: (qmail-queue invoked from smtpd); 10 Aug 1996 17:02:02 -0000 Received: from artemis.chu.cam.ac.uk (root@131.111.131.1) by master.debian.org with SMTP; 10 Aug 1996 17:02:02 -0000 Received: from chiark.chu.cam.ac.uk ([131.111.131.114]) by artemis.chu.cam.ac.uk with smtp (ident root using rfc1413) id m0upHOI-0002eCC (Debian /\oo/\ Smail3.1.29.1 #29.37); Sat, 10 Aug 96 17:59 BST Received: by chiark.chu.cam.ac.uk id m0upHN3-0004PYC (Debian /\oo/\ Smail3.1.29.1 #29.35); Sat, 10 Aug 96 17:58 BST Message-Id: Date: Sat, 10 Aug 96 17:58 BST From: Ian Jackson To: 4093@bugs.debian.org Subject: Re: Bug#4093: start-stop-daemon fails to kill process Newsgroups: chiark.mail.debian.devel In-Reply-To: <199608092322.BAA20676@marin.fdn.fr> References: <199608092322.BAA20676@marin.fdn.fr> Yves Arrouye writes ("Bug#4093: start-stop-daemon fails to kill process"): > Maybe should it kill the process whose pid is in the pidfile, even if > it does not think the executable is running? > > Here is an example of the problem: > > marin66# /etc/init.d/apache stop > no /usr/sbin/apache found; none killed. > marin67# cat /var/run/apache/apache.pid > 12707 > marin68# ps -ax|grep 12707 > 12707 ? S 0:00 /usr/sbin/apache > 20378 p9 S 0:00 grep 12707 Are you using a new apache package ? On my system apache installs itself as /usr/sbin/apache-httpd. In any case, could you check to see what ls -ali /proc/12707/exe ls -aliL /proc/12707/exe shows and what ls -ali /usr/sbin/apache shows ? Thanks, Ian.   Bug assigned to package `dpkg'. Request was from Guy Maor <maor@ece.utexas.edu> to control@bugs.debian.org.   Guy Maor <maor@ece.utexas.edu>  Sorry, this message was lost when this bug report was restored from a backup.