Here's my working version:

service amanda
{
        socket_type = dgram
        protocol = udp
        wait = yes
        user = amanda
        group = backup
        groups = yes
        server = /opt/libexec/amandad
}

service amandaidx
{
        socket_type = dgram
        protocol = tcp
        wait = yes
        user = amanda
        group = backup
        groups = yes
        server = /opt/libexec/amindexd
}

service amidxtape
{
        socket_type = dgram
        protocol = tcp
        wait = yes
        user = amanda
        group = backup
        groups = yes
        server = /opt/libexec/amidxtaped
}

Make sure you have the proper entries in /etc/services

Raymond Bramwell wrote:

> Hi there!
>
> I was just wondering if anyone has successfully configured amanda to
> backup clients running xinetd rather than inetd!
> If so could someone let me know what you need to put in /etc/xinetd.conf
> 'cos I'm really stumped, I've tried the following:
>
> service amanda
> {
>         flags                           = REUSE NAMEINARGS
>         socket_type                     = dgram
>         protocol                        = udp
>         wait                            = yes
>         user                            = backup
>         server                          = /usr/local/libexec/amandad
>         server_args                     = amandad
> }
>
> And tried permutations of missing out the flags and server_args
> arguments.  In all these cases when I run amcheck on the amanda
> server it fails on this client with permission denied errors for each
> disk and the dumpdates file.  Before you ask, no its not
> a permissions problem because when I use inetd with:
>
> amanda dgram udp wait backup /usr/local/libexec/amandad amandad
>
> in /etc/inetd.conf it works fine!  The thing is I need to be using
> xinetd and not inetd.  Can anyone help?
>
> Ray.

--
Luc Lalonde, Responsable du reseau GIREF

Telephone: (418) 656-2131 poste 6623
Courriel: [EMAIL PROTECTED]


begin:vcard 
n:Lalonde;Luc
x-mozilla-html:FALSE
org:Universite Laval;GIREF
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administateur de reseau
x-mozilla-cpt:;0
fn:Luc Lalonde
end:vcard

Reply via email to