John Clement schrieb:

> OK, the story continues, thanks to all those who've contributed so
> far!!  Here's how things are now after all your comments.  The client is
> a new install of 2.5, server is 2.4.4p3
> 
> -rw-------   1 amandabackup disk  109 Apr 25 14:23 .amandahosts
> 
> /, /var, /lib, /var/lib/amanda are all readable.
> 
> xinetd.d/amanda:
> 
> =========
> service amanda
> {
>        socket_type             = dgram
>        protocol                = udp
>        wait                    = yes
>        user                    = amandabackup
>        group                   = disk
>        groups                  = yes
>        server                  = /usr/lib/amanda/amandad
>        disable                 = no
>        only_from               = 10.10.1.8 192.168.0.1
> }
> =========
> 
> but still I get this from amcheck:
> 
> ERROR: NAK murray.deanst.rroom.net: access as amandabackup not allowed
> from [EMAIL PROTECTED]: cannot open /var/lib/amanda/.amandahosts:
> Permission denied
> 
> Any more suggestions? - thanks

Was xinetd restarted after editing that file?
What if you remove the "only_from"-line for a test (and restart xinetd)?

Here it looks like

# ls -la ~amanda/.amandahosts
-rw-------  1 amanda root 190 Jun 27  2005 /var/lib/amanda/.amandahosts

Stefan



Reply via email to