Portál AbcLinuxu, 16. června 2025 01:56


Dotaz: Watchdog na debianu(sarge)

13.3.2005 14:04 deadly_hawk
Watchdog na debianu(sarge)
Přečteno: 386×
Odpovědět | Admin
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@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@$
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 /~cesta~/watchdog/acquirewdt.ko
insmod: error inserting '/~cesta~/watchdog/acquirewdt.ko':
 -1 Input/output error
Nevi někdo kde dělám chybu :-(
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Na otázku zatím nikdo bohužel neodpověděl.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.