Re: Problem updating doodled



On Wednesday 31 May 2006 08:36, Florian Kulzer wrote:

I would first try to find out why the pre-removal script cannot stop the
daemon. Is the daemon running at all? You can check it with

ps -ef | grep [d]oodled

If the daemon is not running you can try the start/stop actions yourself
(as root):

invoke-rc.d doodled start
invoke-rc.d doodled stop

Start works, stop fails.

Maybe that will give you an error message which indicates what is wrong.
If there is no error you can start the daemon again and see if that is
enough to satisfy the pre-removal script.

If all else fails you can try to force the removal of the package:

dpkg -r --force-all doodled

This doesn't work - it still complains that the stop of the daemon fails.

I then simply tried commenting out the guts of the stop function
in /etc/init.d/doodled and running the upgrade, which worked.

invoke-rc.d doodled stop still fails. Here is the function
from /etc/init.d/doodled:

DAEMON=/usr/bin/doodled
NAME=doodled
DESC="doodle daemon"

stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON
echo "$NAME."
;;


--
==================================
Michael Lightfoot

michael.lightfoot@xxxxxxxxxxxxxxxx
==================================


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: trying to get a daemon to write files as _rwxrwx___
    ... ## Start daemon with startproc. ... If this fails ... # Remember status and be verbose ... Read the manual for umask, it is umask 0, but why in hell do you set them as executables, was it not video? ...
    (alt.os.linux.suse)
  • Re: What is smartd?
    ... this daemon always fails. ... > It's a monitor for IDE hard disks. ... Some older disks don't support this daemon. ... Trinity University ...
    (Fedora)
  • gethostbyname problem
    ... After the modem connects, ... DNS server addresses. ... The problem is that my daemon fails on the gethostbyname call ...
    (comp.os.linux)
  • Re: Problem updating doodled
    ... Is the daemon running at all? ... Start works, stop fails. ... Then it might be time to submit a bug report against the package. ... Does the "start" action really start a daemon process? ...
    (Debian-User)
  • Re: RH 9.0 and sendmail...
    ... do I need to have sendmail running to just ... > $ mail -v root ... > If I don't have to run it as a daemon, ... > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)