Amanda-Users

Re: selfcheck hanging

2006-04-27 09:30:40
Subject: Re: selfcheck hanging
From: John Clement <j.clement AT readingroom DOT com>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Thu, 27 Apr 2006 13:27:51 +0100
Paul Bijnens wrote:
On 2006-04-27 13:05, John Clement wrote:

but then the above processes are, once again, present.

/tmp/amanda/selfcheck.[date].debug reveals

selfcheck: time 0.006: checking disk /data
selfcheck: time 0.010: device /data
selfcheck: time 0.010: disk "/data" OK
selfcheck: time 0.010: amdevice "/data" OK
selfcheck: time 0.010: device "/data" OK
selfcheck: time 0.011: checking disk /etc

so what could be causing the selfcheck to fail checking /etc... any ideas?


What is the dumpprogram used for /etc? Output of:

  $ amadmin config disklist hermes.deanst.rroom.net /etc
   host hermes.deanst.rroom.net:
       interface default
   disk /etc:
       program "GNUTAR"
       exclude list "/var/lib/amanda/exclusions.txt"
       priority 0
       dumpcycle 7
       maxdumps 1
       maxpromoteday 10000
       strategy STANDARD
       compress CLIENT FAST
       comprate 0.50 0.50
       auth BSD
       kencrypt NO
       holdingdisk YES
       record YES
       index YES
       skip-incr NO
       skip-full NO


There is also a amandad.*.debug program with the "selfcheck" request.
Can you post that too?
[root@hermes amanda]# more amandad.20060427114339000.debug
amandad: debug 1 pid 8755 ruid 33 euid 33: start at Thu Apr 27 11:43: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 i
386 GNU/Linux"
amandad:        CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-red hat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysco nfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib/amanda' '--local statedir=/var/lib' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-shared' '-- with-index-server=localhost' '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' '--with-smbclient=/usr/bin/smbclient' '- -with-amandahosts' '--with-user=amanda' '--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 000-90F27009 SEQ 1146134665
SECURITY USER amanda
SERVICE selfcheck
OPTIONS features=fffffeff9ffe0f;maxdumps=1;hostname=hermes.deanst.rroom.net;
GNUTAR /data 0 OPTIONS |;bsd-auth;compress-fast;index;exclude-list=/var/lib/amanda/exclusions.txt; GNUTAR /etc 0 OPTIONS |;bsd-auth;compress-fast;index;exclude-list=/var/lib/amanda/exclusions.txt;
--------

amandad: time 0.001: sending ack:
----
Amanda 2.4 ACK HANDLE 000-90F27009 SEQ 1146134665
----

amandad: time 0.002: bsd security: remote host orinoco.deanst.rroom.net user amanda local user amanda
amandad: time 0.002: amandahosts security check passed
amandad: time 0.002: running service "/usr/lib/amanda/selfcheck"
amandad: time 29.712: got packet:
----
Amanda 2.4 REQ HANDLE 000-90F27009 SEQ 1146134665
SECURITY USER amanda
SERVICE selfcheck
OPTIONS features=fffffeff9ffe0f;maxdumps=1;hostname=hermes.deanst.rroom.net;
GNUTAR /data 0 OPTIONS |;bsd-auth;compress-fast;index;exclude-list=/var/lib/amanda/exclusions.txt; GNUTAR /etc 0 OPTIONS |;bsd-auth;compress-fast;index;exclude-list=/var/lib/amanda/exclusions.txt;
----

amandad: time 29.712: received dup P_REQ packet, ACKing it
amandad: time 29.712: sending ack:
----
Amanda 2.4 ACK HANDLE 000-90F27009 SEQ 1146134665
----

amandad: time 59.707: got packet:
----
Amanda 2.4 REQ HANDLE 000-90F27009 SEQ 1146134665
SECURITY USER amanda
SERVICE selfcheck
OPTIONS features=fffffeff9ffe0f;maxdumps=1;hostname=hermes.deanst.rroom.net;
GNUTAR /data 0 OPTIONS |;bsd-auth;compress-fast;index;exclude-list=/var/lib/amanda/exclusions.txt; GNUTAR /etc 0 OPTIONS |;bsd-auth;compress-fast;index;exclude-list=/var/lib/amanda/exclusions.txt;
----

amandad: time 59.707: received dup P_REQ packet, ACKing it
amandad: time 59.707: sending ack:
----
Amanda 2.4 ACK HANDLE 000-90F27009 SEQ 1146134665
----

======================================================================================
and
======================================================================================
[root@hermes amanda]# more amandad.20060427114339.debug
amandad: debug 1 pid 8754 ruid 33 euid 33: start at Thu Apr 27 11:43: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 i
386 GNU/Linux"
amandad:        CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux' '--target=i386-red hat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysco nfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib/amanda' '--local statedir=/var/lib' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-shared' '-- with-index-server=localhost' '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' '--with-smbclient=/usr/bin/smbclient' '- -with-amandahosts' '--with-user=amanda' '--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.006: got packet:
--------
Amanda 2.4 REQ HANDLE 006-F0F57009 SEQ 1146134650
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9ffe0f;
--------

amandad: time 0.007: sending ack:
----
Amanda 2.4 ACK HANDLE 006-F0F57009 SEQ 1146134650
----

amandad: time 0.021: bsd security: remote host orinoco.deanst.rroom.net user amanda local user amanda
amandad: time 0.021: amandahosts security check passed
amandad: time 0.022: running service "noop"
amandad: time 0.022: sending REP packet:
----
Amanda 2.4 REP HANDLE 006-F0F57009 SEQ 1146134650
OPTIONS features=fffffeff9f00;
----

amandad: time 0.022: got packet:
----
Amanda 2.4 ACK HANDLE 006-F0F57009 SEQ 1146134650
----

amandad: time 0.022: pid 8754 finish time Thu Apr 27 11:43:39 2006



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