The latest amandad.debug file amandad.20100118181046.debug looks like this

amandad: debug 1 pid 25297 ruid 30318 euid 30318: start at Mon Jan 18 18:10:46 
2010
Could not open conf file "/etc/amanda/amanda-client.conf": No such file or 
directory
amandad: time 0.000: security_getdriver(name=BSD) returns 0xd7ecc0
amandad: version 2.5.2p1
amandad: time 0.000: build: VERSION="Amanda-2.5.2p1"
amandad: time 0.000:        BUILT_DATE="Wed Jun 6 19:55:12 PDT 2007"
amandad: time 0.000:        BUILT_MACH="Linux rhel3 2.4.21-40.EL #1 Thu Feb 2 
22:32:00 EST 2006 i686 athlon i386 GNU/Linux"
amandad: time 0.000:        CC="gcc"
amandad:
time 0.000:        CONFIGURE_COMMAND="'./configure'
'--build=i386-redhat-linux' '--prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--libexecdir=/usr/lib/amanda' '-
-datadir=/usr/share'
'--sysconfdir=/etc' '--sharedstatedir=/var/lib/amanda'
'--localstatedir=/var/lib/amanda' '--libdir=/usr/lib'
'--includedir=/usr/include' '--infodir=/usr/info' 
'--mandir=/usr/share/man'
'--with-gnutar=/bin/tar'
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists'
'--with-dumperdir=/usr/lib/amanda' '--with-index-server=localhost'
'--with-t
ape-server=localhost' '--with-user=amandabackup'
'--with-group=disk' '--with-owner=paddy' '--with-fqdn'
'--with-bsd-security' '--with-bsdtcp-security' '--with-bsdudp-security'
'--w
ith-ssh-security' '--with-assertions'"
amandad: time 0.000: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad: time 0.000:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad: time
 0.000:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: time 0.000:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
amandad: time 0.000:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad: time 0.000:        RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad: time 0.000:        XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF 
VXRESTORE=UNDEF
amandad: time 0.000:        SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
amandad: time 0.000:        COMPRESS_PATH="/bin/gzip" 
UNCOMPRESS_PATH="/bin/gzip"
amandad: time 0.000:        LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/Mail"
amandad: time
 0.000:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: time 0.000: defs:  DEFAULT_SERVER="localhost" 
DEFAULT_CONFIG="DailySet1"
amandad: time 0.000:        DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP 
NEED_STRSTR
amandad: time 0.000:        HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID 
ASSERTIONS
amandad: time 0.000:        DEBUG_CODE AMANDA_DEBUG_DAYS=4 BSD_SECURITY 
RSH_SECURITY
amandad: time 0.000:        USE_AMANDAHOSTS CLIENT_LOGIN="amandabackup" 
FORCE_USERID
amandad: time 0.000:        HAVE_GZIP COMPRESS_SUFFIX=".gz" 
COMPRESS_FAST_OPT="--fast"
amandad: time 0.000:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0xd80da4,
 timeout=0, fromaddr=0xd90d90)
amandad: time 0.000: (sockaddr_in *)0xd90d90 = { 2, 925, 192.168.100.19 }
amandad: time 0.000: security_handleinit(handle=0x83a7210, driver=0xd7ecc0 
(BSD))
amandad: time 0.001: accept recv REQ pkt:
<<<<<
SERVICE amindexd
OPTIONS features=ffffffff9ffeffffffff00;auth=bsd;
>>>>>
amandad: time 0.001: amindexd: invalid service
amandad: time 0.001: sending NAK pkt:
<<<<<
ERROR amindexd: invalid service, add 'amindexd' as argument to amandad
>>>>>
amandad: time 0.001: dgram_send_addr(addr=0x83a7230, dgram=0xd80da4)
amandad: time 0.001: (sockaddr_in *)0x83a7230 = { 2, 925, 192.168.100.19 }
amandad: time 0.001: dgram_send_addr: 0xd80da4->socket = 0
amandad: time 0.001: security_close(handle=0x83a7210, driver=0xd7ecc0 (BSD))
amandad: time 29.998: pid 25297 finish time Mon Jan 18 18:11:16 2010


--- On Mon, 1/18/10, Yogesh Hasabnis <yhmai...@yahoo.co.in> wrote:

From: Yogesh Hasabnis <yhmai...@yahoo.co.in>
Subject: amrecover problem
To: amanda-users@amanda.org
Date: Monday, January 18, 2010, 6:03 PM

Hi All,

We are using amanda 2.5.2p1 in our setup. The backup server and the client are 
the same machine and the OS used RHEL 3. As I am trying to do an "amrecover -s 
<hostname> -t <hostname>" to recover a backed up folder, I get the following 
error:


# amrecover -C tendaily -t <hostname> -s <hostname> -d /dev/nst0
AMRECOVER Version 2.5.2p1. Contacting server on <hostname> ...
NAK: amindexd: invalid service, add 'amindexd' as argument to amandad

I had a amrecover a few months ago and it had worked very well. The only thing 
that has changed recently is the amanda version. My /etc/xinetd.d/amanda file 
looks as follows:
service amanda
{
    disable     = no
    socket_type = dgram
    protocol    =
 udp
    wait        = yes
    user        = amandabackup
    group       = disk
    groups      = yes
    server      = /usr/lib/amanda/amandad
}
service amandaidx
{
    disable     = no
    socket_type = stream
    protocol    = tcp
    wait        = no
    user        = amandabackup
    group       = disk
    groups      = yes
    server      =
 /usr/lib/amanda/amindexd
}

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

Can I get suggestions about what could be the problem ?

Thanks in advance,
Yogesh




      


      

Reply via email to