Amanda-Users

Re: amandahostsauth failed

2005-04-02 15:40:17
Subject: Re: amandahostsauth failed
From: Frank Smith <fsmith AT hoovers DOT com>
To: vlpg <vlpg AT terra.com DOT br>, amanda-users <amanda-users AT amanda DOT org>
Date: Sat, 02 Apr 2005 14:35:48 -0600
--On Saturday, April 02, 2005 17:08:19 -0300 vlpg <vlpg AT terra.com DOT br> 
wrote:

> Hi all,
> 
> I'm trying to configure a backup server, but it isn't working...
> 
> My client is 192.168.20.81 and my server is 192.168.20.156
> I want to make the back of /tmp and /etc
> 
> My client's port:
> 10080/tcp closed unknown
> 10081/tcp closed unknown
> 10082/tcp closed amandaidx
> 10083/tcp closed amidxtape
> 
> My server's port:
> 111/tcp   open  rpcbind
> 113/tcp   open  auth
> 916/tcp   open  unknown
> 10080/tcp closed unknown
> 10081/tcp closed unknown
> 10082/tcp open  amandaidx
> 10083/tcp open  amidxtape
> 
> My log file is (I change my domain):
> START driver date 20050402
> DISK planner 192.168.20.81 /etc
> DISK planner 192.168.20.81 /tmp
> START planner date 20050402
> INFO planner Adding new disk 192.168.20.81:/etc.
> INFO planner Adding new disk 192.168.20.81:/tmp.
> ERROR planner 192.168.20.81:  [access as backup not allowed from 
> [email protected]] amandahostsauth failed
> FINISH planner date 20050402
> WARNING driver WARNING: got empty schedule from planner
> STATS driver startup time 0.184
> START taper datestamp 20050402 label HISS04 tape 0
> INFO taper tape HISS04 kb 0 fm 0 [OK]
> FINISH driver date 20050402 time 0.351
> 
> I have add the client ip in the server's /etc/hosts.allow
> 
> Had someone a hint ?

You need an .amandahosts file on the client (in your backup user's
home directory, and not world readable) containing:
foghorn.MYDOMAIN        backup

and remember to replace MYDOMAIN with whatever was in the 'ERROR' message
you quoted above.

Frank

> 
> Thanks for the help - Vinicius
> 
> 
> 



--
Frank Smith                                                fsmith AT hoovers 
DOT com
Sr. Systems Administrator                                 Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501

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