Amanda-Users

'it is not an ack' amanda-2.4.3-4 RH 9.0

2003-12-12 09:59:34
Subject: 'it is not an ack' amanda-2.4.3-4 RH 9.0
From: Illtud Daniel <illtud.daniel AT llgc.org DOT uk>
To: amanda-users AT amanda DOT org
Date: Fri, 12 Dec 2003 14:55:21 +0000
Hi,

I've been using amanda fairly successfully with a 9-tape LTO
library and samba to backup a dozen or so windows shares. I'm
now moving on to using it to backup linux clients, and I've
hit a problem. I'm using amanda-2.4.3-4 on RH 9.0 (the distro
release), and running

 amcheck -c DailyBacup clienthost

starts a dialogue between the server & clienthost, but it doesn't
complete. Here's the log from the client:

[root@clienthost amanda]# more amandad.20031212141601.debug
amandad: debug 1 pid 12525 ruid 33 euid 33: start at Fri Dec 12 14:16:01 2003
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 S
MP Sun Feb 9 09:47:42 EST 2003 i686 i686 i386 GNU/Linux"
amandad:        CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--host=i386-redhat-linux' '--b uild=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '-- prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--s ysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/us r/lib' '--libexecdir=/usr/lib/amanda' '--localstatedir=/var/lib' '--sharedstated ir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-sha red' '--with-index-server=localhost' '--with-gnutar-listdir=/var/lib/amanda/gnut ar-lists' '--with-smbclient=/usr/bin/smbclient' '--with-amandahosts' '--with-use
r=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.000: got packet:
--------
Amanda 2.4 REQ HANDLE 000-B86C0608 SEQ 1071238544
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9f00;
--------

amandad: time 0.000: sending ack:
----
Amanda 2.4 ACK HANDLE 000-B86C0608 SEQ 1071238544
----

amandad: time 0.000: bsd security: remote host backupserver.llgc.org.uk user amanda local user amanda
amandad: time 0.000: amandahosts security check passed
amandad: time 0.000: running service "noop"
amandad: time 0.001: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-B86C0608 SEQ 1071238544
OPTIONS features=fffffeff9f00;
----

amandad: time 9.986: got packet:
----
Amanda 2.4 REQ HANDLE 000-B86C0608 SEQ 1071238544
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9f00;
----

amandad: time 9.986: it is not an ack
amandad: time 9.986: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-B86C0608 SEQ 1071238544
OPTIONS features=fffffeff9f00;
----

amandad: time 19.979: dgram_recv: timeout after 10 seconds
amandad: time 19.979: waiting for ack: timeout, retrying
amandad: time 19.986: got packet:
----
Amanda 2.4 REQ HANDLE 000-B86C0608 SEQ 1071238544
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9f00;
----

amandad: time 19.986: it is not an ack
amandad: time 29.979: dgram_recv: timeout after 10 seconds
amandad: time 29.979: waiting for ack: timeout, retrying
amandad: time 39.980: dgram_recv: timeout after 10 seconds
amandad: time 39.980: waiting for ack: timeout, retrying
amandad: time 49.981: dgram_recv: timeout after 10 seconds
amandad: time 49.981: waiting for ack: timeout, retrying
amandad: time 59.981: dgram_recv: timeout after 10 seconds
amandad: time 59.981: waiting for ack: timeout, giving up!
amandad: time 59.981: pid 12525 finish time Fri Dec 12 14:17:01 2003





As you can see, the server starts the communication OK, the
client replies, then the client doesn't recognise the next
server packet as an ack. I can go digging in the source, or
try the Rawhide 2.4.4 version, but maybe there's something
I'm missing. I've had a look through the archives, and I
can't see an answer to this. Anybody?

--
Illtud Daniel                                 illtud.daniel AT llgc.org DOT uk
Uwch Ddadansoddwr Systemau                       Senior Systems Analyst
Llyfrgell Genedlaethol Cymru                  National Library of Wales
Yn siarad drosof fy hun, nid LlGC   -  Speaking personally, not for NLW


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