On September 27 2001, Jason Joines wrote:
> I just tried to use amrecover for the first time. It yields this
> error, "amrecover: Unexpected server end of file". Checking the debug
> file gives this information,
> "amrecover: debug 1 pid 15661 ruid 0 euid 0 start time Thu Sep 27
> 12:13:49 2001
> amrecover: stream_client: connected to 139.78.89.34.10082
> amrecover: stream_client: our side is 0.0.0.0.890"
> Any idea what this means?
It probably means that the default configuration (often "Dailyset1") compiled
into amrecover isn't the same as the name of the configuration you actually
use. You'll want to look in /tmp/amanda/amindexed*debug on the Amanda
server to check that.
You'll either need to recompile Amanda on the client after re-running
configure with the "--with-config=xxx" option or just make sure you use the
correct configuration name when you run amrecover. For example, on my
system the configuration name is "DLT", the tape/index server is "iori", and
the tape drive (on iori) is "/dev/nsa0", so here's how I run amrecover:
amrecover -C DLT -s iori -t iori -d /dev/nsa0
More information is in the amrecover man page and in "The Chapter" at
http://www.backupcentral.com/amanda-23.html
I hope this helps,
-Ben
--
Benjamin Lewis Thank goodness modern convenience is a
Database Analyst/Programmer thing of the remote future.
Purdue University Computing Center -- Pogo, by Walt Kelly
[EMAIL PROTECTED]