Amanda-Users

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

2005-05-16 11:22:03
Subject: Re: amrecover Error 500 Access not allowed: [access as amanda not allowed from root AT server.domain.co DOT uk] amandahostsauth failed
From: Chuck Amadi <chuck AT smtl.co DOT uk>
To: Amanda List <amanda-users AT amanda DOT org>
Date: Mon, 16 May 2005 16:09:37 +0100
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...
> 
> 
-- 
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