Watchdog Installationsproblem

Als ich auf meinem Raspberry Pi mit Raspbian (Debian Wheezy) watchdog installieren wollte, bekam ich folgende Fehlermeldung:

insserv: warning: script 'mathkernel' missing LSB tags and overrides
insserv: There is a loop between service watchdog and mathkernel if stopped
insserv: loop involving service mathkernel at depth 2
insserv: loop involving service watchdog at depth 1
insserv: Stopping mathkernel depends on watchdog and therefore on system facilit y `$all' which can not be true!
insserv: exiting now without changing boot order!

Dies kann behoben werden, indem man die Datei /etc/init.d/mathkernel öffnet und wie folgt abändert:

Vorher:

#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin
.
.
.

Nachher (die grünen Zeilen wurden eingefügt):

#!/bin/sh
### BEGIN INIT INFO
# Provides: mathkernel
# Required-Start: $syslog
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: mathkernel
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
### END INIT INFO
PATH=/sbin:/usr/sbin:/bin:/usr/bin
.
.
.

Abschließend noch folgendes ausführen:

sudo update-rc.d mathkernel remove
sudo update-rc.d mathkernel defaults

Und dann klappt’s auch mit der Installation von watchdog 😉

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

*

*