On Friday 28 September 2001 07:39 am, you wrote:
> 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
My amindexed debug file gives this information:
"more amindexd.20010927121349.debug
amindexd: debug 1 pid 15662 ruid 37 euid 37 start time Thu Sep 27
12:13:49 2001
amindexd: version 2.4.2p2
could not open conf file "/usr/local/etc/amanda/amidxtape/amanda.conf":
No such file or directory
amindexd: pid 15662 finish time Thu Sep 27 12:13:49 2001"
I'm not sure why it is looking for that file.
My configuration name is daily and the configuration file is in
/usr/local/etc/amanda/daily/amanda.conf. I execute "amrecover -C
daily" and get the same results:
"/usr/local/sbin/amrecover -C daily
AMRECOVER Version 2.4.2p2. Contacting server on darkangel ...
amrecover: Unexpected server end of file"
The compiled default is DailySet1 but using -C is supposed to let
you specify another configuration. All the other compiled defaults for
amrecover seem to match my setup.
Jason
-----------------------------------------------------------