Amanda-Users

Re: Invalid Service?

2008-04-27 07:27:15
Subject: Re: Invalid Service?
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Tony van der Hoff <tony AT vanderhoff DOT org>
Date: Sun, 27 Apr 2008 07:17:36 -0400
Tony van der Hoff wrote:
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
add:  server_args             = -auth=bsd amdump amindexd amidxtaped
}
#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.



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