Amanda-Users

Re: Fatal reading result from taper

2003-07-02 19:08:31
Subject: Re: Fatal reading result from taper
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Josh Welch" <jwelch AT buffalowildwings DOT com>, <amanda-users AT amanda DOT org>
Date: Wed, 2 Jul 2003 19:03:25 -0400
On Wednesday 02 July 2003 16:50, Josh Welch wrote:
>Well, I'm back. Hopefully this isn't going to require the
> application of a clue by four, but I'll take it if that's what has
> to happen.
>
>I have my server, RH8.0 running Amanda 2.4.4 that I built on there.
> My only client currently is a RH6.2 machine that I have running the
> amanda-2.4.1p1-7 RPM from RedHat. I'm trying to avoid installing a
> compiler and building on the client if I can.
>
>Amcheck gives no erors. However, when I try to do amdump, its
> breaking. I've included the email from amanda below. There doesn't
> look to be anything particularly interesting in the logs, but I've
> pasted the amandad.debug from the client below. I've also pasted my
> disklist. I've tried searching through the groups without any
> success and the faq is down right now it appears, so I appreciate
> any help you can give me.
>
>###### Email from amanda
>
>*** THE DUMPS DID NOT FINISH PROPERLY!
>
>The next tape Amanda expects to use is: Tape01.
>
>FAILURE AND STRANGE DUMP SUMMARY:
>  driver: FATAL reading result from taper: Connection reset by peer
>  mplslx1.bu /var RESULTS MISSING
>
><snipped bunch of empty statstistics>NOTES:
>  planner: Adding new disk mplslx1.buffalowildwings.com:/var.
>
>DUMP SUMMARY:
>                                     DUMPER STATS            TAPER
> STATS HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s
> MMM:SS  KB/s --------------------------
> --------------------------------- ------------ mplslx1.buff /var   
>       MISSING --------------------------------------
>
>(brought to you by Amanda version 2.4.4)
>
>######amandad.debug
>
>amandad: debug 1 pid 28335 ruid 11 euid 11 start time Wed Jul  2
> 15:29:02 2003
>(null): version 2.4.1p1
>(null): build: VERSION="Amanda-2.4.1p1"
>(null):        BUILT_DATE="Thu Feb 10 15:53:50 EST 2000"
>(null):        BUILT_MACH="Linux porky.devel.redhat.com 2.2.5-22smp
> #1 SMP Wed Jun 2 09:11:51 EDT 1999 i686 unknown"
>(null):        CC="gcc"
>(null): paths: bindir="/usr/sbin" sbindir="/usr/sbin"
>(null):        libexecdir="/usr/lib/amanda" mandir="/usr/man"
>(null):        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
>(null):        RDEV_PREFIX="/dev/r"
> SAMBA_CLIENT="/usr/bin/smbclient" (null):        GNUTAR="/bin/tar"
> COMPRESS_PATH="/usr/bin/gzip" (null):       
> UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail" (null):     
>   listed_incr_dir="/var/lib/amanda/gnutar-lists" (null): defs: 
> DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1" (null):      
>  DEFAULT_TAPE_SERVER="localhost"

That client is broken and must be rebuilt with the proper servername 
in the configuration.

>(null):        DEFAULT_TAPE_DEVICE="/dev/null"

Again, this is not the proper tape device.  That redhat rpm built 
version is broken.

>HAVE_MMAP
> HAVE_SYSVSHM (null):        LOCKING=POSIX_FCNTL SETPGRP_VOID
> DEBUG_CODE BSD_SECURITY (null):        USE_AMANDAHOSTS
> CLIENT_LOGIN="operator" FORCE_USERID (null):        HAVE_GZIP
> COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" (null):       
> COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" got packet:
>--------
>Amanda 2.4 REQ HANDLE 000-38580608 SEQ 1057178243
>SECURITY USER operator
>SERVICE sendsize
>OPTIONS
>features=fffffeff9ffe0f;maxdumps=1;hostname=mplslx1.buffalowildwings
>.com; GNUTAR /var 0 1970:1:1:0:0:0 -1
>--------
>
>sending ack:
>----
>Amanda 2.4 ACK HANDLE 000-38580608 SEQ 1057178243
>----
>
>bsd security: remote host mplslx2.buffalowildwings.com user operator
> local user operator
>amandahosts security check passed
>(null): running service "/usr/lib/amanda/sendsize"
>(null): sending REP packet:
>----
>Amanda 2.4 REP HANDLE 000-38580608 SEQ 1057178243
>OPTIONS maxdumps=1;
>/var 0 SIZE 7285520
>----
>
>(null): got ack:
>----
>Amanda 2.4 ACK HANDLE 000-38580608 SEQ 1057178243
>----
>
>amandad: pid 28335 finish time Wed Jul  2 15:29:54 2003
>
>######disklist
>
># hostname diskdev dumptype
># Replace "dumptype" with either "hard-disk-dump" or "hard-disk-tar"
># localhost /home hard-disk-dump
>mplslx1.buffalowildwings.com /var hard-disk-tar

Did I not already post a howto?  In this case I think you are going to 
have to install the compiler, and build from tarball before its going 
to work.

If you install the compiler from rpms, it can then be removed when you 
are done, just keep track of which packkages you put in so you can 
cleanup when you're done.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.