Amanda-Users

Re: amcheck errors

2004-05-28 21:09:53
Subject: Re: amcheck errors
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Fri, 28 May 2004 21:00:57 -0400
On Friday 28 May 2004 18:34, Fábio Mendonça Albuquerque Cunha wrote:
>Thanks Gene and Marcelo !!!!
>I run my backups and it's ok !
>But now, when I try to recover this backup I get this output of
> amrecover:
>
>[root@asterix DailySet1]# amrecover DailySet1
>AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
>220 asterix AMANDA index server (2.4.2p2) ready.
>500 Access not allowed: [access as amanda not allowed from
> root@asterix] amandahostsauth failed
>
>Why amanda is looking for a localhost, if I set up my .amandahosts
> like this :
>
>[root@asterix amanda]# vi .amandahosts
>asterix amanda
>
>Someone could help me with this ?
>
Thats presuming that 'asterix' is an alias for the FQDN listed in 
your /etc/hosts file?  And why is it using localhost?  That doesn't 
work for amrecover as you've just found out.

Also, perms on that file really should be 0600 although I recall a 
previous message that said it could be 0777 as far as amanda was 
concerned.  Its just that its a security concern when made that 
freely accessable.

And if you're running amrecover as root, I'd imagine that root also 
needs to be in that file too.  However, if you have, as amanda, perms 
to write to some scratchpad dir for the recovery, then I'd imagine 
you could run amrecover as amanda.  Personally, I've not done it.

>Regards,
>
>InfraNet Tecnologia
>Fábio M. A. Cunha
>(55 11) 5542-0941 ramal 22
>(55 11) 9603-6377
>www.infranetsp.com.br
>
>On Fri, 28 May 2004 17:16:21 -0400, Gene Heskett <gene> escreveu:
>> De: Gene Heskett <gene>
>> Data: Fri, 28 May 2004 17:16:21 -0400
>> Para: amanda-users AT amanda DOT org
>> Assunto: Re: amcheck errors
>>
>> On Friday 28 May 2004 16:45, Fábio Mendonça Albuquerque Cunha 
wrote:
>> >Hello guys,
>> >It's my first time trying to setup amanda and I am getting this
>> > output when I run amcheck <myconfiguration> :
>> >
>> >Amanda Tape Server Host Check
>> >-----------------------------
>> >Holding disk /var/tmp: 194660 KB disk space available, that's
>> > plenty NOTE: skipping tape-writable test
>> >Tape DailySet101 label ok
>> >Server check took 4.573 seconds
>> >
>> >Amanda Backup Client Hosts Check
>> >--------------------------------
>> >WARNING: localhost: selfcheck request timed out.  Host down?
>> >Client check: 1 host checked in 30.079 seconds, 1 problem found
>>
>> And we are back to the single, most covered in the docs, error. 
>> We don't mean to get short with newbies, but the use of localhost
>> is a no-no.  Please change your disklist entry to use the FQDN of
>> the machine in question.
>>
>> Then, backup just a few days in the archives where I have posted
>> the amanda file that goes in /etc/xinetd.d, and I'll mention that
>> it may be you do not have the /home/(user)/.amandahosts file
>> properly configured.
>>
>> Also, I suspect thats an rpm install, as 2.4.2p2 is getting pretty
>> long in the tooth now.  I'm running 2.4.5b1-20040510 snapshot
>> here.
>>
>> While it is possible to beat the rpm versions around and make them
>> work, generally speaking its a lot easier to build from the
>> tarball, it takes me about 4 minutes to build each new snapshot
>> and install it by use of the scripts I use here.
>>
>> >(brought to you by Amanda 2.4.2p2)
>> >
>> >My OS is Red Hat 8.0
>> >
>> >Some could help me ?
>> >
>> >Regards,
>> >
>> >InfraNet Tecnologia
>> >Fábio M. A. Cunha
>> >(55 11) 5542-0941 ramal 22
>> >(55 11) 9603-6377
>> >www.infranetsp.com.br
>>
>> --
>> Cheers, Gene
>> "There are four boxes to be used in defense of liberty:
>>  soap, ballot, jury, and ammo. Please use in that order."
>> -Ed Howdershelt (Author)
>> 99.23% setiathome rank, not too shabby for a WV hillbilly
>> Yahoo.com attorneys please note, additions to this message
>> by Gene Heskett are:
>> Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.23% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

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