Re: 500 Access not allowed: (but should be)

2002-05-15 Thread Kevin Hancock


Thanks for the replies

You know what the problem actually was?

On Redhat 7.2 built and installed from source RPM.

.amandhosts file is NOT in /home/amanda !

It is in /var/lib/amanda/.amandahosts

cp /home/amanda/.amandahosts /var/lib/amanda/.amandahosts

Fixed it. This may be documented somewhere but I couldn't find it.

anyway,  thanks again 

Kevin

>
> In the server's (missie) ~amanda/.amandahosts you need:
>
> grumpy.doamin.com root
>
> The [access as X not allowed from  Y@Z] message is telling you how
> Amanda is actually trying to be authenticated, so just put whatever
> shows as Y and Z in the message in the .amandahosts file in the
> reverse order like so:
>



Re: 500 Access not allowed: (but should be)

2002-05-15 Thread Frank Smith

--On Thursday, May 16, 2002 14:29:15 + Kevin Hancock <[EMAIL PROTECTED]> wrote:

> 
> Hi 
> 
> I cannot recover my amanda backups. 
> 
> My tape server is missie, this is where the tape drive and amanda server is.
> I am trying to run amrecover from a client.
> 
> These are Redhat systems. On the server amanda runs as user amanda 
> and on the client amanda runs as operator. I installed from RPM and this is the 
>default.
> 
> Redhat 6.2 username is operator
> Redhat 7.2 username is amanda
> 
> [root@ /root]# amrecover  -t missie.doamin.com -s missie.doamin.com -C DailySet1
> AMRECOVER Version 2.4.1p1. Contacting server on missie.doamin.com ...
> 220 missie AMANDA index server (2.4.2p2) ready.
> 500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED]] 
>amandahostsauth failed

In the server's (missie) ~amanda/.amandahosts you need:

grumpy.doamin.com   root

The [access as X not allowed from  Y@Z] message is telling you how
Amanda is actually trying to be authenticated, so just put whatever
shows as Y and Z in the message in the .amandahosts file in the
reverse order like so:

Z   Y

> 
> I have added 
> 
> clientnameroot

Almost, but the client is apparently presenting itself as clientname.domin.name

> clientnameamanda
> clientnameoperator
> 
> to the /home/amanda/.amandahosts  file on the server but still I get this error. 
>From what I can see
> user amanda is allowed from grumpy. 
> 
> Any ideas why this is happening? 
> 
> Thanks
> 
> Kevin

Good luck,
Frank

--
Frank Smith[EMAIL PROTECTED]
Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501



500 Access not allowed: (but should be)

2002-05-15 Thread Kevin Hancock


Hi 

I cannot recover my amanda backups. 

My tape server is missie, this is where the tape drive and amanda server is.
I am trying to run amrecover from a client.

These are Redhat systems. On the server amanda runs as user amanda 
and on the client amanda runs as operator. I installed from RPM and this is the 
default.

Redhat 6.2 username is operator
Redhat 7.2 username is amanda

[root@ /root]# amrecover  -t missie.doamin.com -s missie.doamin.com -C DailySet1
AMRECOVER Version 2.4.1p1. Contacting server on missie.doamin.com ...
220 missie AMANDA index server (2.4.2p2) ready.
500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED]] 
amandahostsauth failed

I have added 

clientname  root
clientname  amanda
clientname  operator

to the /home/amanda/.amandahosts  file on the server but still I get this error. From 
what I can see
user amanda is allowed from grumpy. 

Any ideas why this is happening? 

Thanks

Kevin