On Friday, April 06, 2012 09:59:11 AM Jean-Louis Martineau did opine:

> On 04/06/2012 01:08 AM, gene heskett wrote:
> 
> Beside having inet and xinetd file, which one are the machine using?
> 
> > root@shop:/etc# cat xinetd.d/amanda
> > # default: on
> > # description: The amanda service
> > service amanda
> > {
> > #        only_from       =<coyote.coyote.den>
> > 
> >          socket_type     = dgram
> >          protocol        = udp
> >          wait            = yes
> >          user            = backup
> >          group           = backup
> >          groups          = yes
> >          server          = /usr/lib/amanda/amandad
> >          server_args     = -auth=bsdtcp amdump amindexd amidxtaped
> >          disable         = no
> > 
> > }
> 
> This file is wrong, it listen on udp and expect a tcp connection
> (-auth=bsdtcp)
> 
> For bsdtcp, you need:
> 
> service amanda
> {
> #        only_from       =<coyote.coyote.den>
>          socket_type     = stream
>          protocol        = tcp
>          wait            = no
>          user            = backup
>          group           = backup
>          groups          = yes
>          server          = /usr/lib/amanda/amandad
>          server_args     = -auth=bsdtcp amdump amindexd amidxtaped
>          disable         = no
> }
I have removed xinetd from the shop machine, putting inetd back in.

>From inetd.conf on both clients:
amanda stream tcp nowait backup /usr/lib/amanda/amandad amandad -auth=bsdtcp 
amdump

Both clients have this in /var/backups/.amandahosts

localhost backup
coyote.coyote.den amanda amdump

And both are still 'connection refused'

Thanks Jean-Louis

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
A committee takes root and grows, it flowers, wilts and dies, scattering the
seed from which other committees will bloom.
                -- Parkinson

Reply via email to