Amanda-Users

Re: linux backup problem

2006-04-24 10:38:18
Subject: Re: linux backup problem
From: John Clement <j.clement AT readingroom DOT com>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Mon, 24 Apr 2006 15:33:54 +0100
Both files included below, they don't look bad to me, I'm not really sure what I'm looking for!

thanks

==================================
[root@hermes amanda]# more selfcheck.20060424153239.debug
selfcheck: debug 1 pid 22993 ruid 33 euid 33: start at Mon Apr 24 15:32:39 2006
/usr/lib/amanda/selfcheck: version 2.4.3
selfcheck: time 0.002: checking disk /data
selfcheck: time 0.003: device /data
selfcheck: time 0.003: disk "/data" OK
selfcheck: time 0.003: amdevice "/data" OK
selfcheck: time 0.003: device "/data" OK
selfcheck: time 0.004: checking disk /etc
==================================
[root@hermes amanda]# more amandad.20060424153239.debug
amandad: debug 1 pid 22991 ruid 33 euid 33: start at Mon Apr 24 15:32:39 2006
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad:        BUILT_DATE="Thu Feb 13 11:14:37 EST 2003"
amandad: BUILT_MACH="Linux stripples.devel.redhat.com 2.4.20-2.41smp #1 SMP Sun Feb 9
09:47:42 EST 2003 i686 i686 i386 GNU/Linux"
amandad:        CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--host=i386-redhat-linux' '--build=i386-re dhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-pre fix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/shar e' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib/amanda' '--localst atedir=/var/lib' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share /info' '--enable-shared' '--with-index-server=localhost' '--with-gnutar-listdir=/var/lib/ama nda/gnutar-lists' '--with-smbclient=/usr/bin/smbclient' '--with-amandahosts' '--with-user=am
anda' '--with-group=disk' '--with-gnutar=/bin/tar'"
amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/r" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/tar" COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="localhost"
amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
amandad:        CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.001: got packet:
--------
Amanda 2.4 REQ HANDLE 00A-B0609709 SEQ 1145889179
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9ffe0f;
--------

amandad: time 0.001: sending ack:
----
Amanda 2.4 ACK HANDLE 00A-B0609709 SEQ 1145889179
----

amandad: time 0.002: bsd security: remote host orinoco.deanst.rroom.net user amanda local us
er amanda
amandad: time 0.002: amandahosts security check passed
amandad: time 0.002: running service "noop"
amandad: time 0.002: sending REP packet:
----
Amanda 2.4 REP HANDLE 00A-B0609709 SEQ 1145889179
OPTIONS features=fffffeff9f00;
----

amandad: time 0.003: got packet:
----
Amanda 2.4 ACK HANDLE 00A-B0609709 SEQ 1145889179
----

amandad: time 0.003: pid 22991 finish time Mon Apr 24 15:32:39 2006
==================================


Paul Bijnens wrote:
On 2006-04-24 15:45, John Clement wrote:
When I run my amcheck I get

WARNING: host.domain.com: selfcheck reply timed out.

and on 'host.domain.com' I end up with the following processing:

amanda   20128  0.3  0.2  2192  752 ?        S    13:25   0:00 amandad
amanda 20129 0.1 0.2 1952 752 ? S 13:25 0:00 /usr/lib/amanda/selfcheck amanda 20130 0.0 0.0 0 0 ? Z 13:25 0:00 [amandad <defunct>]

If I now run amcheck again it reports back:

ERROR: NAK host.domain.com: amandad busy

So pressumably the selfcheck is hanging, does this sound right and does anyone have any idea why?

Have a look in the debug file on the client in /tmp/amanda/selfcheck.[datetime].debug.
(and maybe also in the amandad.[datetime].debug file itself too.)

Also check the list of problems, mentioned in:

http://wiki.zmanda.com/index.php/Amcheck:_selfcheck_request_timed_out





Thanks - jc








<Prev in Thread] Current Thread [Next in Thread>