Yes I know this is a popular error message.

# amrecover -C Weekly -s clark -t clark -d /dev/nst0
AMRECOVER Version 2.4.2p1. Contacting server on clark ...
amrecover: Unexpected server end of file

In this case the command was executed on the host "clark"
clark happens to be the amanda server, tape server and index server.
clark is also a client.  However I get the same error when this command
is executed from the other clients.

I have been reading hundreds of posts on this, as well as the
suspected DNS problem outlined in the FAQ.

Often the response to these posts is,
"What does your /tmp/amanda/amindexd*debug file say?"

This is my fundamental problem..... I don't have a amindexd*debug file.
I have all the other debug files:

amandad.debug  amrecover.debug  killpgrp.debug    sendsize.debug
amcheck.debug  amtrmidx.debug   selfcheck.debug
amlabel.debug  amtrmlog.debug   sendbackup.debug

Can anyone help me to start logging to a amindexd*debug file?
Then I can start to trouble shoot the real problem
"amrecover: Unexpected server end of file"

phbrannigan

------------------------------------------------

Here is my environment info:
OS = RedHat 7.0
Amanda = amanda-2.4.2p1

built with:
./configure --with-user=amanda --with-group=disk

# netstat -a | grep am
tcp        0      0 *:amidxtape             *:*
LISTEN
tcp        0      0 *:amandaidx             *:*
LISTEN
udp        0      0 *:amanda                *:*

xinetd.d info:

service amanda
{
socket_type = dgram
protocol = udp
wait = yes
user = amanda
group = disk
server = /usr/local/libexec/amandad
disable = no
}

service amandaidx
{
        socket_type             = stream
        protocol                = tcp
        wait                    = yes
        user                    = operator
        group                   = disk
        server                  = /usr/lib/amanda/amindexd
        disable                 = no
}

service amidxtape
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = operator
        group                   = disk
        server                  = /usr/lib/amanda/amidxtaped
        disable                 = no
}

disklist file:
...
#
# clark
#
clark /dev/hda1 linux0


amanda.conf file
...
define dumptype linux0 {
    comment "Linux dump level 0"
    program "DUMP"
    dumpcycle 0
    index yes
}
...





begin:vcard 
n:Brannigan;Paul
tel;fax:303-245-1025
tel;work:303-245-1045
x-mozilla-html:TRUE
adr:;;3434 47th St.;Boulder;Colorado;80301;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Support Engineer
x-mozilla-cpt:;0
fn:Paul Brannigan
end:vcard

Reply via email to