--On Thursday, May 12, 2005 17:01:24 +0100 Chuck Amadi <chuck AT smtl.co DOT
uk> wrote:
> Hi Great your right but why do I get this error no such file or
> directory when I run amrecover to test if I can recover what's in my
> amdump tape my amindexd does resides in my /amanda path/libexec .
>
> Cheers here's my debug log when I run less
>
> amindexd: debug 1 pid 7904 ruid 150 euid 150: start at Thu May 12
> 13:46:38 2005
> amindexd: version 2.4.4p4
> amindexd: time 0.000: < 220 server AMANDA index server (2.4.4p4) ready.
> amindexd: time 0.000: > SECURITY USER root
> amindexd: time 0.001: bsd security: remote host server.domain.co.uk user
> root local user amanda
> amindexd: time 0.001: check failed: [access as amanda not allowed from
> root AT server.domain.co DOT uk] amandahostsauth failed
> amindexd: time 0.001: < 500 Access not allowed: [access as amanda not
> allowed from root AT server.domain.co DOT uk] amandahostsauth failed
This is your problem ^^^
> amindexd: time 0.001: < 200 Good bye.
> amindexd: time 0.001: pid 7904 finish time Thu May 12 13:46:38 2005
>
> I am using amanda as user and disk as group whats this user group.
> I run the command as Root.
In order to run amrestore/amrecover your .amandahosts file on the
server must allow root access from the client, so add
server.domain.co.uk root
to your .amandahosts file on the server.
Frank
>
>
> Cheers
>
> Chuck
> On Thu, 2005-05-12 at 10:49 -0500, Frank Smith wrote:
>>
>> --On Thursday, May 12, 2005 16:17:57 +0100 Chuck Amadi <chuck AT smtl.co DOT
>> uk> wrote:
>>
>> > Hi All
>> >
>> > I have run the amdump and thus tried amrecover as root
>> > I got this error when I run less command
>> >
>> > server:/tmp/amanda-dbg # less 13:46 amindexd.20050512134638.debug
>> > 13:46: No such file or directory
>> >
>> > I dont have this utility in my /sbin/am*
>>
>> Lookes like you inadvertantly included the timestamp when you were
>> pasting in the debug filename on your less command.
>> The amindex command lives in libexec, wherever you install directory
>> was (I think the default is /usr/local).
>>
>> Frank
>> >
>> > So what next I have seen the blurb about Amindex.
>> >
>> > Amindex was a collection of code that added dump indexing and more
>> > friendly recovery to amanda-2.3.0. It has since been fully integrated
>> > into amanda-2.3.0.X. An index of the files in each dump image is
>> > generated as part of the dump process and stored in a database. A
>> > tool, amrecover, is provided which lets users browse the database.
>> > Once a set of files to recover has been assembled, amrecover
>> > "automates" the restoration of these files.
>> >
>> > This file describes how the index files are generated and how amrecover
>> > is used.
>> >
>> >
>> > Cheers
>> >
>> > Chuck
>> >
>> >
>> >
>> >
>> > --
>> > Unix/ Linux Systems Administrator
>> >
>> > The Surgical Material Testing Laboratory (SMTL),
>> > Princess of Wales Hospital
>> > Coity Road
>> > Bridgend,
>> > United Kingdom, CF31 1RQ.
>> >
>> > Tel: +44 1656 752820
>> > Fax: +44 1656 752830
>>
>>
>>
> --
> Unix/ Linux Systems Administrator
>
> The Surgical Material Testing Laboratory (SMTL),
> Princess of Wales Hospital
> Coity Road
> Bridgend,
> United Kingdom, CF31 1RQ.
>
> Tel: +44 1656 752820
> Fax: +44 1656 752830
--
Frank Smith fsmith AT hoovers DOT com
Sr. Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501
|