Amanda-Users

Re: Trouble to get amrecover to work...

2006-02-06 18:02:34
Subject: Re: Trouble to get amrecover to work...
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Mon, 06 Feb 2006 17:59:00 -0500
On Monday 06 February 2006 17:29, Josef Wolf wrote:
>Hello!
>
>Any ideas why amrecover don't want to work?  Looks like it tries to
> connect a server on localhost.  But whom is it trying to connect to
> and why is it failing?

Please, localhost is NOT an FQDN, please reconfigure your installation 
to use Fully Qualified Domain Names or their alias's if they listed in 
the /etc/hosts file.  localhost has a fixed address of 127.0.0.1 on any 
machine and will eat your lunch when trying to recover because its 
always the box the recover is running on.  And that may not be the 
server intended.

>host:/tmp/rest # amrecover ppc
>AMRECOVER Version 2.5.0b2. Contacting server on localhost ...
>220 host AMANDA index server (2.5.0b2) ready.
>200 Access OK
>Setting restore date to today (2006-02-06)
>200 Working date set to 2006-02-06.
>Scanning /tmp/hold...
>  20060205030502: found Amanda directory.
>  20060206030502: found Amanda directory.
>200 Config set to ppc.
>501 Host host is not in your disklist.
>Trying host host.do.main ...
>200 Dump host set to host.do.main.
>Trying disk /m ...
>Trying disk mapper/m ...
>Can't determine disk and mount point from $CWD '/tmp/rest'
>amrecover> setdisk /var
>200 Disk set to /var.
>amrecover> settape file:/tmp
>Using tape "file:/tmp" from server localhost.
>amrecover> add log
>Added dir /log at date 2006-02-06
>amrecover> extract
>
>Extracting files from holding disk on host localhost.
>The following files are needed:
> /tmp/hold/20060206030502/host.do.main._var.0

Holding disk?

>Restoring files into directory /tmp/rest
>Continue [?/Y/n]?
>
>Extracting from file  /tmp/hold/20060206030502/host.do.main._var.0
>amrecover: Could not read features from control socket
>
>host:/tmp/rest #

Possibly the 'sethost' command might bail you out, but I've no 
experience with this, so I'm not positive about it.

-- 
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.

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