查看: 5314|回复: 2
收起左侧

安装看门狗的时候出错

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)


回复

使用道具 举报

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
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热点推荐

关注我们,了解更多

官方微信

服务时间:10:00-16:00

公司地址:

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部