Amanda-Users

Re: Problems using amrecover

2004-05-27 10:32:27
Subject: Re: Problems using amrecover
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Thorsten Bremer <lists-read AT thoddi DOT de>
Date: Thu, 27 May 2004 16:15:52 +0200
Thorsten Bremer wrote:

schatten:/etc# amrecover Weekly
AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
220 schatten AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2004-05-27)
200 Working date set to 2004-05-27.
200 Working date set to 2004-05-27.
amrecover: Unexpected server end of file


Both server and client are on the same machine, a normal backup is
going without any problem. As amrecover said, everything is
"localhost" :-)

I found this note in the FAQ:
http://amanda.sourceforge.net/fom-serve/cache/173.html
I tried all in there, I can ping to and from localhost :-) and
nslookup tell me, that localhost is really 127.0.0.1 and vice versa
:-) Because a normal backup is working, I think that access-rights and
so on must be correct.

You didn't try enough:
The FAQ says:

CAUSE: In UNIX / Windows mixed environments could happen that the DNS
and WINS become misaligned.
If this happens, the Reverse Lookup that Amanda Server performs at every
Client connection simply fails and the connection does not establish
returning the error "Unexpected server end of file".


Your localhost is actually called "schatten", and I guess that a
dns lookup of "schatten" does not result in "localhost", nor in 127.0.0.1.

Don't use "localhost" in disklist.  It will bit you.
If you don't believe me, just just got bitten...


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



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