Amanda-Users

Re: amrecover Error 500 Access not allowed: [access as amanda notallowed from root AT server.domain.co DOT uk] amandahostsauth failed

2005-05-16 11:25:39
Subject: Re: amrecover Error 500 Access not allowed: [access as amanda notallowed from root AT server.domain.co DOT uk] amandahostsauth failed
From: Matthew Claridge <mclaridge AT rwa-net.co DOT uk>
To: chuck AT smtl.co DOT uk
Date: Mon, 16 May 2005 16:16:59 +0100
Chuck,

You need both client and server machines listed in the .amandahosts file on the server. Currently you've only got the one server listed there.....

talk to you soon mate

Matt


on 16/05/2005 16:09 Chuck Amadi said the following:

Hi I had a look at # less  amrecover.20050516105131.debug


amrecover: debug 1 pid 25626 ruid 0 euid 0: start at Mon May 16 10:51:31
2005
amrecover: stream_client_privileged: connected to 192.168.1.55.10082
amrecover: stream_client_privileged: our side is 0.0.0.0.829
amrecover.20050516105131.debug lines 1-3/3 (END)


Also # less amindexd.20050516105131.debug

amindexd: debug 1 pid 25627 ruid 1014 euid 1014: start at Mon May 16
10:51:31 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 sever.domian.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
amindexd: time 0.001: < 200 Good bye.
amindexd: time 0.001: pid 25627 finish time Mon May 16 10:51:31 2005

I am running as root

My ~amanda /.amandahost file is as follows

server.domain.co.uk amanda
server.domain.co.uk root

/etc/hosts file
192.168.X.XX   server.domain.co.uk  server


On Mon, 2005-05-16 at 08:25 -0400, Joshua Baker-LePain wrote:
On Mon, 16 May 2005 at 11:31am, Chuck Amadi wrote

On Mon, 2005-05-16 at 06:15 -0400, Joshua Baker-LePain wrote:
On Mon, 16 May 2005 at 10:38am, Chuck Amadi wrote

server:/local/sw/amanda/bckup # /local/sw/amanda/bckup/sbin/amrecover -C
DailySet1 -t server -s server
AMRECOVER Version 2.4.4p4. Contacting server on server ...
220 server AMANDA index server (2.4.4p4) ready.
500 Access not allowed: [access as amanda not allowed from
root AT server.domain.co DOT uk] amandahostsauth failed
You need the line:

server.domain.co.uk root

in ~amanda/.amandahosts.

I know it's had to believe but I do have that in my
~amanda /.amandahosts file

Makes no difference.
On the amanda server? If so, look for debug files in /tmp/amanda for more info and post those...



--
*Matthew Claridge*
Product Support Engineer
RWA Limited
Direct line: 02920 815 054
Email: mclaridge AT rwa-net.co DOT uk
Web: www.rwa-net.co.uk