Hi all,

I recently added a new client to my backup rotation.  The first night 
all went well.  Last night however the client did not get backed up. 
According to the report, the client was off-line.

This morning, I got the amcheck error report stating:

        ERROR: ebeneezer NAK: amandad busy

When I logged into ebeneezer, ps revealed that amandad and sendsize 
were still running:

  # ps -auxw  |grep amanda
  amanda 2378 0.0 0.3 2176 860 ? S 11:49 0:00 amandad
  amanda 2379 0.0 0.3 1832 772 ? S 11:49 0:00 /usr/local/amanda/libexec/selfcheck

an strace -p of the amandad process reveals:

  # strace -p 2378
  select(6, [0 5], NULL, NULL, NULL <unfinished ...>

an strace of the selfcheck process hangs (i.e., it doesn't return anything)

The debug logs don't seem to reveal anything (I've attached them in 
case anyone else sees something I missed).

The client is a RH7.1 system running xinetd with user=amanda, 
group=disk.  Amanda is a member of both groups amanda and disk.

The server is a debian 2.2 system.

Both systems are running amanda 2.4.2p1

Thanks for any insight anyone can provide!

Seeya,
Paul



amandad: debug 1 pid 2604 ruid 200 euid 200 start time Fri Sep 28 13:55:49 2001
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
amandad:        BUILT_DATE="Wed Sep 26 14:52:19 EDT 2001"
amandad:        BUILT_MACH="Linux ebeneezer.lowell.mclinux.com 2.4.3-12 #1 Fri Jun 8 
15:05:56 EDT 2001 i686 unknown"
amandad:        CC="gcc"
amandad: paths: bindir="/usr/local/amanda/bin"
amandad:        sbindir="/usr/local/amanda/sbin"
amandad:        libexecdir="/usr/local/amanda/libexec"
amandad:        mandir="/usr/local/amanda/man" AMANDA_TMPDIR="/tmp/amanda"
amandad:        AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/usr/local/amanda/etc/amanda"
amandad:        DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/gtar" COMPRESS_PATH="/bin/gzip"
amandad:        UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/usr/local/amanda/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="ebeneezer.lowell.mclinux.com"
amandad:        DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="ebeneezer.lowell.mclinux.com"
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"
got packet:
--------
Amanda 2.4 REQ HANDLE 00A-D8D70708 SEQ 1001699761
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR /usr/local 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
GNUTAR /prod 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
GNUTAR / 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 00A-D8D70708 SEQ 1001699761
----

bsd security: remote host head.lowell.mclinux.com user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/amanda/libexec/selfcheck"
amandad: got packet:
----
Amanda 2.4 REQ HANDLE 00A-D8D70708 SEQ 1001699761
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR /usr/local 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
GNUTAR /prod 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
GNUTAR / 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
----

amandad: received dup P_REQ packet, ACKing it
sending ack:
----
Amanda 2.4 ACK HANDLE 00A-D8D70708 SEQ 1001699761
----

amandad: got packet:
----
Amanda 2.4 REQ HANDLE 00A-D8D70708 SEQ 1001699761
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR /usr/local 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
GNUTAR /prod 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
GNUTAR / 0 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/amanda/lib/amanda/exclude.gtar;
----

amandad: received dup P_REQ packet, ACKing it
sending ack:
----
Amanda 2.4 ACK HANDLE 00A-D8D70708 SEQ 1001699761
----

selfcheck: debug 1 pid 2605 ruid 200 euid 200 start time Fri Sep 28 13:55:49 2001
/usr/local/amanda/libexec/selfcheck: version 2.4.2p2
selfcheck: checking disk /usr/local

Reply via email to