Amanda-Users

Re: Connection refused by peer

2005-10-26 15:29:34
Subject: Re: Connection refused by peer
From: Thomas Wegner <thomaswegner AT gmx DOT net>
To: amanda-users AT amanda DOT org
Date: Wed, 26 Oct 2005 21:22:03 +0200
Am Mittwoch, den 26.10.2005, 13:25 -0400 schrieb Jon LaBadie:
> On Wed, Oct 26, 2005 at 06:56:35PM +0200, Alexander Jolk wrote:
> > Thomas Wegner wrote:
> > [...]
> > >NOTES:
> > >  planner: tapecycle (1) <= runspercycle (1)
> > [...]
> > 
> > >Have anyone suggestions about a solution?
> > 
> > Hmm, I sense a suggestion looming behind that line of your report...
For testing I've changed my amanda.conf in:
dumpcycle 1 day
tapecycle 2 tapes

This is the result:
FAILURE AND STRANGE DUMP SUMMARY:
  driver: FATAL reading result from taper: Connection reset by peer
  chef       hda7 RESULTS MISSING

   [...]

NOTES:
  planner: Adding new disk chef:hda7.


DUMP SUMMARY:
                                     DUMPER STATS            TAPER
STATS 
HOSTNAME     DISK        L ORIG-kB OUT-kB COMP% MMM:SS  KB/s MMM:SS
KB/s
-------------------------- ---------------------------------
------------
chef         hda7          MISSING
--------------------------------------
 
The same behaviour as bevore.  :-((
> 
> 
> Definitely should be adjusted.  But, would that prevent/stop
> the dump from completing to holding disk?  The report seemed
> to me to show no activity.
> 
> Sounds like it is time to check the 'debug files' on the server
> and on the client, possibly saved under /tmp/amanda.
Sorry. But in /tmp are no debug files. I can offer log-files. In
example :
 -----------------------------------------------------------

DISK planner chef hda7
START planner date 20051026
INFO planner Adding new disk chef:hda7.
START driver date 20051026
STATS driver startup time 0.004
FATAL driver reading result from taper: Connection reset by peer
FINISH planner date 20051026 time 25.606
------------------------------------------------------------------

And dumpoutput:

-----------------------------------------------------
amdump: start at Wed Oct 26 18:23:46 CEST 2005
amdump: datestamp 20051026
planner: pid 11133 executable /usr/lib/amanda/planner version 2.4.5
planner: build: VERSION="Amanda-2.4.5"
planner:        BUILT_DATE="Thu Jun 9 09:26:39 UTC 2005"
planner:        BUILT_MACH="Linux vernadsky 2.6.10 #1 SMP Fri May 13
09:24:22 UTC 2005 i686 GNU/Linux"
planner:        CC="gcc"
planner:        CONFIGURE_COMMAND="'./configure' '--prefix=/usr'
'--bindir=/usr/sbin' '--mandir=/usr/share/man'
'--libexecdir=/usr/lib/amanda' '--enable-shared' '--sysconfdir=/etc'
'--localstatedir=/var/lib'
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists'
'--with-index-server=localhost' '--with-user=backup'
'--with-group=backup' '--with-bsd-security' '--with-amandahosts'
'--with-smbclient=/usr/bin/smbclient' '--with-tcpportrange=50000,50100'
'--with-udpportrange=840,860'"
planner: paths: bindir="/usr/sbin" sbindir="/usr/sbin"
planner:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
planner:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
planner:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
planner:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
planner:        RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
planner:        XFSDUMP="/sbin/xfsdump" XFSRESTORE="/sbin/xfsrestore"
planner:        VXDUMP=UNDEF VXRESTORE=UNDEF
planner:        SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
planner:        COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
planner:        LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/mail"
planner:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
planner: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
planner:        DEFAULT_TAPE_SERVER="localhost"
planner:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
planner:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
planner:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
planner:        CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
planner:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
planner:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
planner: time 0.000: dgram_bind: socket bound to 0.0.0.0.853
READING CONF FILES...
driver: pid 11134 executable /usr/lib/amanda/driver version 2.4.5
driver: tape size 11974656
driver: send-cmd time 0.002 to taper: START-TAPER 20051026
driver: adding holding disk 0 dir /var/backups/amandadump/backup_woche
size 512000 chunksize 1048576
reserving 512000 out of 512000 for degraded-mode dumps
driver: started dumper0 pid 11136
driver: started dumper1 pid 11137
dumper: dgram_bind: socket bound to 0.0.0.0.856
dumper: pid 11136 executable dumper0 version 2.4.5, using port 856
dumper: dgram_bind: socket bound to 0.0.0.0.857
dumper: pid 11137 executable dumper1 version 2.4.5, using port 857
driver: started dumper2 pid 11138
dumper: dgram_bind: socket bound to 0.0.0.0.859
dumper: pid 11139 executable dumper3 version 2.4.5, using port 859
driver: started dumper3 pid 11139
dumper: dgram_bind: socket bound to 0.0.0.0.858
dumper: pid 11138 executable dumper2 version 2.4.5, using port 858
planner: time 0.029: startup took 0.029 secs

SENDING FLUSHES...
ENDFLUSH

SETTING UP FOR ESTIMATES...
planner: time 0.029: setting up estimates for chef:hda5
chef:hda5 overdue 13083 days for level 0
setup_estimate: chef:hda5: command 0, options: none    last_level -1
next_level0 -13083 level_days 0    getting estimates 0 (-2) -1 (-2) -1
(-2)
planner: time 0.029: setting up estimates took 0.000 secs

GETTING ESTIMATES...
driver: flush size 0
driver: start time 0.028 inparallel 4 bandwidth 600 diskspace 512000 dir
OBSOLETE datestamp 20051026 driver: drain-ends tapeq FIRST big-dumpers
ttt
planner: time 0.204: got partial result for host chef disk hda5: 0 ->
-2K, -1 -> -2K, -1 -> -2K
taper: tape changer failed with exit status -1
at /usr/lib/amanda//taperlib.pm line 112.
driver: reading result from taper: Connection reset by peer
planner: time 1.317: got partial result for host chef disk hda5: 0 ->
-1K, -1 -> -2K, -1 -> -2K
planner: time 1.317: got result for host chef disk hda5: 0 -> -1K, -1 ->
-2K, -1 -> -2K
planner: time 1.318: getting estimates took 1.288 secs
FAILED QUEUE:
  0: chef       hda5
DONE QUEUE: empty

ANALYZING ESTIMATES...
planner: FAILED chef hda5 20051026 0 [disk hda5, all estimate failed]
INITIAL SCHEDULE (size 220):

DELAYING DUMPS IF NEEDED, total_size 220, tape length 11974656 mark 78
  delay: Total size now 220.

PROMOTING DUMPS IF NEEDED, total_lev0 0, balanced_size 0...
planner: time 1.318: analysis took 0.000 secs

GENERATING SCHEDULE:
--------
--------
amdump: end at Wed Oct 26 18:23:48 CEST 2005
Scanning /var/backups/amandadump/backup_woche...
  20051026065056: found Amanda directory.
  20051026071419: found Amanda directory.
  20051026182346: found Amanda directory.
----------------------------------------------------------------------------------

I hope it will tell you something.

Thomas


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