Amanda-Users

Re: FATAL driver reading result from taper: Connection reset by peer

2006-08-07 09:31:32
Subject: Re: FATAL driver reading result from taper: Connection reset by peer
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Mon, 07 Aug 2006 09:25:03 -0400
On Monday 07 August 2006 06:35, mario wrote:
>Hello List,
>
>i am trying to back up to DVD-RAM and I get the follwoing error:
>
>START driver date 20060807
>DISK planner localhost md1

Using localhost will bite you a recovery time, ALWAYS USE the machine FQDN 
or its IP address.

>START planner date 20060807
>WARNING planner tapecycle (8) <= runspercycle (28)
>INFO planner Adding new disk localhost:md1.
>STATS driver startup time 0.067
>FATAL driver reading result from taper: Connection reset by peer
>FAIL planner localhost md1 20060807 0 [dump larger than tape, 30864297
>KB, but cannot incremental dump new disk]
>FATAL planner cannot fit anything on tape, bailing out

In this case the planner will probably pick it up in the next run, it ran 
out of room on the media this time.

>
># netstat -nap  |grep 1008
>tcp        0      0 0.0.0.0:10082           0.0.0.0:*
>LISTEN     14277/xinetd
>tcp        0      0 0.0.0.0:10083           0.0.0.0:*
>LISTEN     14277/xinetd
>udp        0      0 0.0.0.0:10080           0.0.0.0:*
>14277/xinetd
>
>
>>From my disklist ( am not quite sure if the dumptype is correct!):
>
>   localhost md1 comp-root

Again, don't use localhost, you can't use the amanda recovery tools with 
it, its a security of your data type thing.

>
>I guess the Fatal error (FATAL driver reading result from taper:
>Connection reset by peer) should be solved first. But i am not quite
>sure where to look. What do i need to check?
>
>What daemon is not running and therefore resetting it by peer?
>
>Do you need more infos?

In the /etc/xinetd.d directory you should have either a triplet of files, 
each containing a stanza of this file, or a single file that contains all 
3 verses like this:
======================
# This file is named amanda, but could be named "anything" as long as its
# in the /etc/xinetd.d directory and describes these 'services'
# default = off, eg a disable = yes if not specified.
#
# description: Part of the Amanda server package
# This is the list of daemons & such it needs
service amanda
{
 disable = no
 socket_type = dgram
 protocol = udp
 wait  = yes
 user  = amanda
 group  = disk
 groups  = yes
 server  = /usr/local/libexec/amandad
}
service amandaidx
{
 disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/libexec/amindexd
}
service amidxtape
{
 disable = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = amanda
        group           = disk
        groups          = yes
        server          = /usr/local/libexec/amidxtaped
}
=============================
Do you have it, and do all the "disable =" lines say no, and do the "wait 
=" lines and the "server =" lines pair up as these are?

And did I mention that you should get rid of the use of localhost?

>Thanks, Mario

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.