千与琥珀 发表于 2014-3-3 12:24:32

安装看门狗的时候出错

各位大大,我在用教程安装看门狗的时候发生下面的错误,有人知道是怎么回事吗?

正在设置 watchdog (5.12-1) ...
/run/udev or .udevdb or .udev presence implies active udev.Aborting MAKEDEV invocation.
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 facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing watchdog (--configure):
子进程 已安装 post-installation 脚本 返回了错误号 1
在处理时有错误发生:
watchdog
E: Sub-process /usr/bin/dpkg returned an error code (1)


gatalon 发表于 2014-3-3 15:29:58

我也遇到这个错误提示了。

CH3 发表于 2014-3-18 17:30:33

在 /etc/init.d/mathkernel 中 #!/bin/sh 后添加:
### BEGIN INIT INFO
# Provides:          mathkernel
# Required-Start:    $local_fs
# Required-Stop:   $local_fs
# Default-Start:   2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: mathkernel
### END INIT INFO
页: [1]
查看完整版本: 安装看门狗的时候出错