Amanda-Users

Re: Backups fail on new client: too many dumper retry

2006-06-21 15:32:59
Subject: Re: Backups fail on new client: too many dumper retry
From: Charles Curley <charlescurley AT charlescurley DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 21 Jun 2006 13:26:53 -0600
On Wed, Jun 21, 2006 at 01:50:58PM -0400, Jon LaBadie wrote:
> On Wed, Jun 21, 2006 at 11:31:01AM -0600, Charles Curley wrote:
> > On Wed, Jun 21, 2006 at 12:55:15PM -0400, Jon LaBadie wrote:
> > > 
> > > Forgot to mention, I looked through some old reports, from last month
> > > when I was setting up a FC4 installation.  Early on there were some
> > > "too many dumper retry" messages.  When it happened all DLE for that
> > > host had same report.  
> > 
> > Same here.
> > 
> > > It was a connectivity problem, firewall (check both client and
> > > server),
> > 
> > The client amandad is called from xinetd, and that is working, or
> > amcheck would fail. Wouldn't it?
> > 
> 
> What is in the client's amandad debug files?  Anything of interest?

From the client:

--------------------------------------------------
amandad: debug 1 pid 6541 ruid 33 euid 33: start at Wed Jun 21 08:26:53 2006
amandad: version 2.4.5p1
amandad: build: VERSION="Amanda-2.4.5p1"
amandad:        BUILT_DATE="Fri Feb 10 21:44:52 EST 2006"
amandad:        BUILT_MACH="Linux hs20-bc1-6.build.redhat.com 
2.6.9-22.18.bz155725.ELsmp #1 SMP Thu Nov 17 15:34:08 EST 2005 i686 i686 i386 
GNU/Linux"
amandad:        CC="i386-redhat-linux-gcc"
amandad:        CONFIGURE_COMMAND="'./configure' '--build=i386-redhat-linux' 
'--host=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' 
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' 
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' 
'--libdir=/usr/lib' '--libexecdir=/usr/lib/amanda' '--localstatedir=/var/lib' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--enable-shared' '--disable-dependency-tracking' 
'--with-index-server=localhost' '--with-tape-server=localhost' 
'--with-config=DailySet1' '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' 
'--with-smbclient=/usr/bin/smbclient' '--with-amandahosts' '--with-user=amanda' 
'--with-group=disk' '--with-tmpdir=/var/log/amanda' '--with-gnutar=/bin/tar'"
amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad:        AMANDA_TMPDIR="/var/log/amanda"
amandad:        AMANDA_DBGDIR="/var/log/amanda" CONFIG_DIR="/etc/amanda"
amandad:        DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/r"
amandad:        DUMP="/sbin/dump" RESTORE="/sbin/restore" VDUMP=UNDEF
amandad:        VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
amandad:        VXRESTORE=UNDEF SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/tar" COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad:        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-487B1309 SEQ 1150899849
SECURITY USER amanda
SERVICE sendbackup
OPTIONS features=fffffeff9ffe7f;hostname=themoose.localdomain;
GNUTAR /var  0 1970:1:1:0:0:0 OPTIONS |;bsd-auth;compress-fast;index;
--------

amandad: time 0.000: sending ack:
----
Amanda 2.4 ACK HANDLE 000-487B1309 SEQ 1150899849
----

amandad: time 0.004: bsd security: remote host charlesc.localdomain user amanda 
local user amanda
amandad: time 0.015: amandahosts security check passed
amandad: time 0.015: running service "/usr/lib/amanda/sendbackup"
amandad: time 0.018: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-487B1309 SEQ 1150899849
CONNECT DATA 40885 MESG 35734 INDEX 33697
OPTIONS features=fffffeff9ffe7f;
----

amandad: time 0.020: got packet:
----
Amanda 2.4 ACK HANDLE 000-487B1309 SEQ 1150899849
----

amandad: time 0.020: pid 6541 finish time Wed Jun 21 08:26:53 2006
--------------------------------------------------

> 
> > Do I need 10080, 10082 and 10083 open on the server's firewall? I have
> > them open on the client. I just opened them up on the server, and got
> > the same results. There are no firewalls between the two machines.
> 
> I thought that too until I checked FC's defaults include iptables running.
> That in combo with selinux blocked return info to the server.

Selinux is disabled on both boxes.

> > 
> > > bad entry in .amandahosts, 
> > --------------------------------------------------
> > [root@themoose DailySet1]# cat /var/lib/amanda/.amandahosts
> > charlesc amanda
> > charlesc.localdomain amanda
> 
> ;) localdomain is not literal is it?

Yes, it is. I run a range of private IP addresses behind a natting
firewall, and my own authoritative name server. No-one outside of my
network can see that server.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgpN05fltBhiB.pgp
Description: PGP signature