Amanda-Users

Re: Help with amrecover

2002-08-22 14:26:51
Subject: Re: Help with amrecover
From: Scott Sanders <ssanders AT conceptsdirectinc DOT com>
To: tshadwick AT stgroupllc DOT com
Date: Thu, 22 Aug 2002 12:09:06 -0600
Not sure about the bind messages in you dmesg logs but amrecover needs the
following arguments

amrecover -C {config name} -s {index-server} -t {tape server} -d {tape device}

where you seem to be sending /dev/nsa0 to the -t

HTH

Tony Shadwick wrote:

> I'd like to say up front that I got sattled with a FreeBSD based ISP with 19
> servers that are totally undocumented.  Thank you very much. :P
>
> Now that I've got that out in the open, I have one of these systems with a
> SCSI Quantum DLT 4500 tape changer attached that takes backups from all the
> systems, including itself.  These backups have, apparently been working
> flawlessly for quite some time.
>
> One problem:  They never tested to see if they could recover apparently, as
> I cannot. :\
>
> From the clients, if I type
>
> amrecover -C daily -s onyx.ourdomain.com -t /dev/nsa0
>
> I get:
>
> AMRECOVER Version 2.4.1p1. Contacting server on onyx.ourdomain.com ...
> amrecover: Error connecting to server: Operation timed out
>
> If I allow it to sit there there long enough, it will eventually time out.
> Okay, so for one reason or another the server daemon is unreachable.  Let's
> try recovering from onyx, to onyx.
>
> amrecover -C daily -s localhost -t /dev/nsa0
>
> onyx# amrecover -C daily -s localhost -t /dev/nsa0
> AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
> 220 onyx AMANDA index server (2.4.2p2) ready.
> 200 Access OK
> Setting restore date to today (2002-08-22)
> 200 Working date set to 2002-08-22.
> 200 Config set to daily.
> 501 No index records for host: onyx.ourdomain.com. Invalid?
> Trying onyx.ourdomain.com ...
> 501 No index records for host: onyx.ourdomain.com. Invalid?
> amrecover>
>
> Errr....okay, so it lets me in, but claims that there are no index records.
> I have to admin to being baffled.  But wait, there's more...
>
> reboot
> tail /var/log/dmesg.today
>
> Aug 21 15:49:51 onyx inetd[212]: amidxtape/tcp: bind: Address already in use
> Aug 21 15:49:51 onyx inetd[212]: amandaidx/tcp: bind: Address already in use
> Aug 21 15:49:51 onyx inetd[212]: amanda/udp: bind: Address already in use
> Aug 21 15:51:28 onyx inetd[212]: amanda/udp: bind: Address already in use
> Aug 21 15:51:28 onyx inetd[212]: amandaidx/tcp: bind: Address already in use
> Aug 21 15:51:28 onyx inetd[212]: amidxtape/tcp: bind: Address already in use
>
> Eh...okay?  Address already in use?
>
> So...this is kinda freaky.  I took a look at /etc/inetd.conf, and everything
> looks good there.  Obviously something in inetd is choking, and even
> stranger is that I'm not completely certain BIND is even running on onyx.
> Really weird.  Any ideas?
>
> Tony Shadwick
> Manager of Internet Services
> Strategic Technology Group
> 314-480-1324


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