前提・実現したいこと
raspberrypiを長期間運転中にハングしてしまったので、ウォッチドッグタイマを実装したい。
発生している問題・エラーメッセージ
#sudo systemctl start watchdogとコンソールに入力した所 #ウォッチドッグタイマが起動せず、下記エラーがでる。 Job for watchdog.service failed because the control process exited with error code. See "systemctl status watchdog.service" and "journalctl -xe" for details. #systemctl status watchdog.serviceで状態を見てみると下記の表示がされた。 watchdog.service - watchdog daemon Loaded: loaded (/lib/systemd/system/watchdog.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2018-02-26 18:06:56 JST; 11min ago Process: 1973 ExecStartPre=/bin/sh -c [ -z "${watchdog_module}" ] || [ "${watchdog_module}" = "none" ] || /sbin/modprobe $wa 2月 26 18:06:56 raspberrypi systemd[1]: Starting watchdog daemon... 2月 26 18:06:56 raspberrypi sh[1973]: modprobe: FATAL: Module bcm2708_wdog not found in directory /lib/modules/4.9.59-v7+ 2月 26 18:06:56 raspberrypi systemd[1]: watchdog.service: Control process exited, code=exited status=1 2月 26 18:06:56 raspberrypi systemd[1]: Failed to start watchdog daemon. 2月 26 18:06:56 raspberrypi systemd[1]: watchdog.service: Unit entered failed state. 2月 26 18:06:56 raspberrypi systemd[1]: watchdog.service: Triggering OnFailure= dependencies. 2月 26 18:06:56 raspberrypi systemd[1]: watchdog.service: Failed with result 'exit-code'.
試したこと
下記URLを参考に設定を行った。
◆Raspberry Pi 2 にウォッチドッグタイマーを導入する
http://ecoday.jp/881/raspberry-pi-2-%E3%81%AB%E3%82%A6%E3%82%A9%E3%83%83%E3%83%81%E3%83%89%E3%83%83%E3%82%B0%E3%82%BF%E3%82%A4%E3%83%9E%E3%83%BC%E3%82%92%E5%B0%8E%E5%85%A5%E3%81%99%E3%82%8B%E3%80%82/
補足情報(FW/ツールのバージョンなど)
raspberrypi2 modelB使用
watchdog(5.15-2) インストール済み
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/02/27 02:02
退会済みユーザー
2018/02/27 10:22