Amanda-Users

Re: Invalid Service?

2008-04-25 08:56:04
Subject: Re: Invalid Service?
From: Tony van der Hoff <tony AT vanderhoff DOT org>
To: amanda-users AT amanda DOT org
Date: Fri, 25 Apr 2008 13:52:09 +0100
On 25 Apr at 13:22 "Stefan G. Weichinger" <sgw AT amanda DOT org> wrote in 
message
<4811CD00.5090002 AT amanda DOT org>

> Tony van der Hoff schrieb:
> > Using Amanda 2.5.1p1 under Debian Etch, my backups work fine, and I can
> > recover partitions from tape using dd, etc.
>> 
> > However: tony@tony-lx:~$ sudo amrecover HomeDumps AMRECOVER Version
> > 2.5.1p1. Contacting server on localhost ... NAK: amindexd: invalid
> > service
>> 
> > What does this message mean, and how to fix this?
>
> I think it means that you haven't read the docs on how to configure
> (x)inetd correctly.
>
> http://www.amanda.org/docs/install.html#id325457
>
>
http://wiki.zmanda.com/index.php/Quick_start#Configuring_xinetd_on_the_server
>
> Stefan
>
Thanks for taking an interest, Stefan; that's what I thought, too. I wish it
were that simple. Maybe I'm missing something, but what is wrong with this
(3 seperate files, each with the same name as the service):

# default: on
# description: The amanda service
service amanda
{
        disable         = no
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = backup
        group           = backup
        groups          = yes
        server          = /usr/lib/amanda/amandad
}


#default: on
# description: The amanda index service
service amandaidx
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = backup
        group           = backup
        groups          = yes
        server          = /usr/lib/amanda/amindexd
}

#default: on
# description: The amanda tape service
service amidxtape
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = backup
        group           = backup
        groups          = yes
        server          = /usr/lib/amanda/amidxtaped
}


Oh, and all those paths are valid.

-- 
Tony van der Hoff        | mailto:tony AT vanderhoff DOT org
Buckinghamshire, England 

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