Amanda-Users

Re: Connection refused by peer

2005-10-31 07:31:58
Subject: Re: Connection refused by peer
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda Mailingsliste <amanda-users AT amanda DOT org>
Date: Mon, 31 Oct 2005 07:17:47 -0500
On Mon, Oct 31, 2005 at 07:15:10AM +0100, Thomas Wegner enlightened us:
> Am Freitag, den 28.10.2005, 14:28 +0200 schrieb Thomas Wegner:
> Hello. I will answer to myself.
> > Am Freitag, den 28.10.2005, 13:07 +0200 schrieb Alexander Jolk:
> > 
> > > >>Could you try without a changer, or debug your changer script?  That 
> > > >>might be the problem.
> > > > 
> > > > I have no changer and in amanda.conf is no changer defined.
> > > > ----------------------------------------------
> > > > backup@chef:~$ amtape backup_woche device
> > > > amtape: no tpchanger specified in "/etc/amanda/backup_woche/amanda.conf"
> > > > -------------------------------------------------
> > > 
> > > That's an error message I believe, even though it's not evidently worded 
> > > as such.  You seem to have specified runtapes > 1 without giving a 
> > > changer.  Either configure a changer if you want more than one tape per 
> > > run, or just set runtapes to 1.
> > No, I didn't configured any changer or any runtapes. This is my
> > amanda.conf:
> I took a look at the FAQ on www.amanda.org and read the "how to
> configure tape changer" chapter. One suggestions is to set runtapes to 1
> as you wrote and comment out tpchanger. 
> But this won't work on my machine. The error message is the same as
> ever.
> Then I've tried 'runtapes 1000' and 'tpchanger "chg-manual" '. This
> seems to work. But I wonder about the short time amanda uses for backup
> my /home directory.
> How can I proof if backup was correct?
> When I start 'amrecover -C /etc/amanda/backup_woche/ -s localhost -t
> localhost' as user backup amanda tells me that amrecover must run as
> root.
> When I start amrecover as root the following message appears:
> ------------------------%<------------------------------------------
> root@chef:/home/tommi # amrecover -C /etc/amanda/backup_woche/ -s
> localhost -t localhost
> AMRECOVER Version 2.4.5. Contacting server on localhost ...
> 220 chef AMANDA index server (2.4.5) ready.
> 500 Access not allowed: [access as backup not allowed from
> root@localhost] amandahostsauth failed
> -----------------%<------------------------------------------------
> 
> In /root/.amandahosts is an entry 'localhost root'.
> 
> 
> Has anyone an idea?
> 

1. DON'T USE LOCALHOST. See http://www.amanda.org/docs/topten.html#id2555509

2. The .amandahosts file belongs in amanda's home directory, not root's.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

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