Watchdog a problém


To "Debain" <czdebian-l zavinac debian bod cz>
From "deadly_hawk" <root zavinac deadlyhawk bod com>
Date Sun, 13 Mar 2005 13:58:38 +0100

Zdravim nakonfiguroval jsme si watchdog a mam ho takto nastaven

#ping                   = 172.31.14.1
#ping                   = 172.26.1.255
#interface              = eth0
file                    = /var/log/messages
#change                 = 1407

# Uncomment to enable test. Setting one of these values to '0' disables it.
# These values will hopefully never reboot your machine during normal use
# (if your machine is really hung, the loadavg will go much higher than 25)
#max-load-1             = 24
#max-load-5             = 18
#max-load-15            = 12

# Note that this is the number of pages!
# To get the real size, check how large the pagesize is on your machine.
#min-memory             = 1

#repair-binary          = /usr/sbin/repair
#test-binary            =
#test-timeout           =

watchdog-device = /dev/watchdog

# Defaults compiled into the binary
#temperature-device     =
#max-temperature        = 120

# Defaults compiled into the binary
admin                   = root zavinac localhost
interval                = 10
logtick                 = 6000

# This greatly decreases the chance that watchdog won't be scheduled before
# your machine is really loaded
realtime                = yes
priority                = 1

# Check if syslogd is still running by enabling the following line
pidfile         = /var/run/syslogd.pid


ale v logu skončí fatal chybou
Mar 13 13:02:44 asgards-server watchdog[9574]: starting daemon (5.2):
Mar 13 13:02:44 asgards-server watchdog[9574]: int=10s realtime=yes sync=no
soft=no mla=0 mem=0
Mar 13 13:02:44 asgards-server watchdog[9574]: ping: no machine to check
Mar 13 13:02:44 asgards-server watchdog[9574]: file: /var/log/messages:0
Mar 13 13:02:44 asgards-server watchdog[9574]: pidfile: /var/run/syslogd.pid
Mar 13 13:02:44 asgards-server watchdog[9574]: interface: no interface to
check
Mar 13 13:02:44 asgards-server watchdog[9574]: test=none(0) repair=none
alive=/dev/watchdog heartbeat=none temp=none to=root zavinac $
Mar 13 13:02:45 asgards-server modprobe: FATAL: Error inserting acquirewdt
(/lib/modules/2.6.8-1-386/kernel/drivers/char/watc$
Mar 13 13:02:45 asgards-server watchdog[9574]: cannot open /dev/watchdog
(errno = 19 = 'No such device')
Mar 13 13:03:26 asgards-server watchdog[9574]: stopping daemon (5.2)

Pokud se uvedeny modul pokusim zavést tak dopadnu stejně
thor:~# insmod /lib/modules/2.6.8-1-386/kernel/drivers/char/watchdog
insmod: can't read '/lib/modules/2.6.8-1-386/kernel/drivers/char/watchdog':
Is a directory


Nevi někdo kde dělám chybu :-(




Partial thread listing: