And the latest amrecover.debug file reads as follows:
amrecover: debug 1 pid 24885 ruid 0 euid 0: start at Mon Jan 18 18:03:32 2010
Could not open conf file "/etc/amanda/amanda-client.conf": No such file or
directory
Could not open conf file "/etc/amanda/tendaily/amanda-client.conf": No such
file or directory
amrecover: debug 1 pid 24885 ruid 0 euid 0: rename at Mon Jan 18 18:03:32 2010
amrecover: time 0.001: security_getdriver(name=bsd) returns 0xd1bcc0
amrecover: time 0.001: security_handleinit(handle=0x86c2988, driver=0xd1bcc0
(BSD))
amrecover: time 0.002: bind_portrange2: Skip port 593: Owned by http-rpc-epmap.
amrecover: time 0.002: bind_portrange2: Skip port 594: Owned by tpip.
amrecover: time 0.003:
bind_portrange2: Skip port 595: Owned by cab-protocol.
amrecover: time 0.003: bind_portrange2: Skip port 596: Owned by smsd.
amrecover: time 0.003: bind_portrange2: Skip port 597: Owned by ptcnameservice.
amrecover: time 0.004: bind_portrange2: Skip port 598: Owned by sco-websrvrmg3.
amrecover: time 0.004: bind_portrange2: Skip port 599: Owned by acp.
amrecover: time 0.005: bind_portrange2: Skip port 600: Owned by ipcserver.
amrecover: time 0.005: bind_portrange2: Skip port 601: Owned by syslog-conn.
amrecover: time 0.006: bind_portrange2: Skip port 602: Owned by xmlrpc-beep.
amrecover: time 0.006: bind_portrange2: Skip port 603: Owned by idxp.
amrecover: time 0.006: bind_portrange2: Skip port 604: Owned by tunnel.
amrecover: time 0.007: bind_portrange2: Skip port 605: Owned by soap-beep.
amrecover: time 0.007: bind_portrange2: Skip port 606: Owned by urm.
amrecover: time 0.008: bind_portrange2: Skip port 607: Owned
by nqs.
amrecover: time 0.008: bind_portrange2: Skip port 608: Owned by sift-uft.
amrecover: time 0.008: bind_portrange2: Skip port 609: Owned by npmp-trap.
amrecover: time 0.009: bind_portrange2: Skip port 610: Owned by npmp-local.
amrecover: time 0.009: bind_portrange2: Skip port 611: Owned by npmp-gui.
amrecover: time 0.009: bind_portrange2: Skip port 612: Owned by hmmp-ind.
amrecover: time 0.009: bind_portrange2: Skip port 613: Owned by hmmp-op.
amrecover: time 0.010: bind_portrange2: Skip port 614: Owned by sshell.
amrecover: time 0.010: bind_portrange2: Skip port 615: Owned by sco-inetmgr.
amrecover: time 0.079: bind_portrange2: Try port 616: Available - Success
amrecover: time 0.079: dgram_bind: socket 3 bound to 0.0.0.0.616
amrecover: time 0.080: dgram_send_addr(addr=0x86c29a8, dgram=0xd1dda4)
amrecover: time 0.080: (sockaddr_in *)0x86c29a8 = { 2, 10080, 192.168.100.19 }
amrecover: time
0.080: dgram_send_addr: 0xd1dda4->socket = 3
amrecover: time 0.094: dgram_recv(dgram=0xd1dda4, timeout=0, fromaddr=0xd2dd90)
amrecover: time 0.094: (sockaddr_in *)0xd2dd90 = { 2, 10080, 192.168.100.19 }
amrecover: time 0.094: security_close(handle=0x86c2988, driver=0xd1bcc0 (BSD))
--- On Mon, 1/18/10, Yogesh Hasabnis <[email protected]> wrote:
From: Yogesh Hasabnis <[email protected]>
Subject: Re: amrecover problem
To: "Yogesh Hasabnis" <[email protected]>
Date: Monday, January 18, 2010, 6:41 PM
And the latest amrecover.debug file reads as follows:
amrecover: debug 1 pid 24885 ruid 0 euid 0: start at Mon Jan 18 18:03:32 2010
Could not open conf file "/etc/amanda/amanda-client.conf": No such file or
directory
Could not open conf file "/etc/amanda/tendaily/amanda-client.conf": No such
file or directory
amrecover: debug 1 pid 24885 ruid 0 euid 0: rename at Mon Jan 18 18:03:32 2010
amrecover: time 0.001: security_getdriver(name=bsd) returns 0xd1bcc0
amrecover: time 0.001: security_handleinit(handle=0x86c2988, driver=0xd1bcc0
(BSD))
amrecover: time 0.002: bind_portrange2: Skip port 593: Owned by http-rpc-epmap.
amrecover: time 0.002: bind_portrange2: Skip port 594: Owned by tpip.
amrecover: time 0.003:
bind_portrange2: Skip port 595: Owned by cab-protocol.
amrecover: time 0.003: bind_portrange2: Skip port 596: Owned by smsd.
amrecover: time 0.003: bind_portrange2: Skip port 597: Owned by ptcnameservice.
amrecover: time 0.004: bind_portrange2: Skip port 598: Owned by sco-websrvrmg3.
amrecover: time 0.004: bind_portrange2: Skip port 599: Owned by acp.
amrecover: time 0.005: bind_portrange2: Skip port 600: Owned by ipcserver.
amrecover: time 0.005: bind_portrange2: Skip port 601: Owned by syslog-conn.
amrecover: time 0.006: bind_portrange2: Skip port 602: Owned by xmlrpc-beep.
amrecover: time 0.006: bind_portrange2: Skip port 603: Owned by idxp.
amrecover: time 0.006: bind_portrange2: Skip port 604: Owned by tunnel.
amrecover: time 0.007: bind_portrange2: Skip port 605: Owned by soap-beep.
amrecover: time 0.007: bind_portrange2: Skip port 606: Owned by urm.
amrecover: time 0.008: bind_portrange2: Skip port 607: Owned
by nqs.
amrecover: time 0.008: bind_portrange2: Skip port 608: Owned by sift-uft.
amrecover: time 0.008: bind_portrange2: Skip port 609: Owned by npmp-trap.
amrecover: time 0.009: bind_portrange2: Skip port 610: Owned by npmp-local.
amrecover: time 0.009: bind_portrange2: Skip port 611: Owned by npmp-gui.
amrecover: time 0.009: bind_portrange2: Skip port 612: Owned by hmmp-ind.
amrecover: time 0.009: bind_portrange2: Skip port 613: Owned by hmmp-op.
amrecover: time 0.010: bind_portrange2: Skip port 614: Owned by sshell.
amrecover: time 0.010: bind_portrange2: Skip port 615: Owned by sco-inetmgr.
amrecover: time 0.079: bind_portrange2: Try port 616: Available - Success
amrecover: time 0.079: dgram_bind: socket 3 bound to 0.0.0.0.616
amrecover: time 0.080: dgram_send_addr(addr=0x86c29a8, dgram=0xd1dda4)
amrecover: time 0.080: (sockaddr_in *)0x86c29a8 = { 2, 10080, 192.168.100.19 }
amrecover: time
0.080: dgram_send_addr: 0xd1dda4->socket = 3
amrecover: time 0.094: dgram_recv(dgram=0xd1dda4, timeout=0, fromaddr=0xd2dd90)
amrecover: time 0.094: (sockaddr_in *)0xd2dd90 = { 2, 10080, 192.168.100.19 }
amrecover: time 0.094: security_close(handle=0x86c2988, driver=0xd1bcc0 (BSD))
--- On Mon, 1/18/10, Yogesh Hasabnis <[email protected]> wrote:
From: Yogesh Hasabnis <[email protected]>
Subject: Re: amrecover problem
To: "Yogesh Hasabnis" <[email protected]>
Date: Monday, January 18, 2010, 6:34 PM
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 <[email protected]> wrote:
From: Yogesh Hasabnis <[email protected]>
Subject: amrecover problem
To: [email protected]
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