PDA

View Full Version : timeout waiting for ACK



Artur
November 21st, 2006, 01:08 AM
hi
I hev a problem with amanda client in second machine.
Backup server configured ok.
When i have addind new machine i get the message:
timeout waiting for ACK.
Firewall in server and client was disabled.
SELinux in server and client was disabled.
my amanda file in xinetd.d in server and client

service amanda
{
socket_type = dgram
protocol = udp
wait = yes
user = amandabackup
group = disk
groups = yes
server = /usr/lib/amanda/amandad
server_args = -auth=bsd amdump amindexd amidxtaped
disable = no
}

my amanda.conf

(...)
define dumptype hard-disk-tar {
hard-disk-dump
holdingdisk no
compress client best
index yes
comment "Backup on HD - using tar"
program "GNUTAR"
auth "bsd"
}
(....)
and debug flie

amandad: debug 1 pid 6425 ruid 502 euid 502: start at Tue Nov 21 09:40:50 2006
security_getdriver(name=bsd) returns 0xa310e0
amandad: version 2.5.1p2
amandad: build: VERSION="Amanda-2.5.1p2"
amandad: BUILT_DATE="Thu Nov 9 10:05:14 PST 2006"
amandad: BUILT_MACH="Linux natasha 2.6.12-1.1381_FC3smp #1 SMP Fri Oct 21 04:03:26 EDT 2005 i686 i686 i386 GNU/Linux"
amandad: CC="gcc"
amandad: 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-tape-server=localhost' '--with-user=amandabackup' '--with-group=disk' '--with-owner=paddy' '--with-fqdn' '--with-bsd-security' '--with-bsdtcp-security' '--with-bsdudp-security' '--with-ssh-security' '--with-assertions'"
amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad: libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
amandad: RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad: RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
amandad: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
amandad: COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
amandad: LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/Mail"
amandad: listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad: DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP HAVE_SYSVSHM
amandad: LOCKING=POSIX_FCNTL SETPGRP_VOID ASSERTIONS DEBUG_CODE
amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
amandad: CLIENT_LOGIN="amandabackup" FORCE_USERID HAVE_GZIP
amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0xa32084, timeout=0, fromaddr=0xa42070)
amandad: time 0.000: (sockaddr_in *)0xa42070 = { 2, 811, 192.168.200.50 }
security_handleinit(handle=0x8945ef0, driver=0xa310e0 (BSD))
amandad: time 0.001: accept recv REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: time 0.001: creating new service: noop
OPTIONS features=fffffeff9ffeffffff7f;

amandad: time 0.009: sending ACK pkt:
<<<<<
>>>>>
amandad: dgram_send_addr(addr=0xfeeb9210, dgram=0xa32084)
amandad: time 0.009: (sockaddr_in *)0xfeeb9210 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 0.010: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: dgram_send_addr(addr=0xfeeb9330, dgram=0xa32084)
amandad: time 0.010: (sockaddr_in *)0xfeeb9330 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 10.008: timeout
amandad: time 10.008: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: dgram_send_addr(addr=0xfeeb9300, dgram=0xa32084)
amandad: time 10.008: (sockaddr_in *)0xfeeb9300 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 10.008: dgram_recv(dgram=0xa32084, timeout=0, fromaddr=0xa42070)
amandad: time 10.008: (sockaddr_in *)0xa42070 = { 2, 811, 192.168.200.50 }
amandad: time 10.009: received REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: time 10.009: received dup P_REQ packet, resending REP
amandad: time 10.009: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: dgram_send_addr(addr=0xfeeb92b0, dgram=0xa32084)
amandad: time 10.009: (sockaddr_in *)0xfeeb92b0 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 20.007: timeout
amandad: time 20.007: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: dgram_send_addr(addr=0xfeeb9300, dgram=0xa32084)
amandad: time 20.007: (sockaddr_in *)0xfeeb9300 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 20.008: dgram_recv(dgram=0xa32084, timeout=0, fromaddr=0xa42070)
amandad: time 20.008: (sockaddr_in *)0xa42070 = { 2, 811, 192.168.200.50 }
amandad: time 20.008: received REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: time 20.008: received dup P_REQ packet, resending REP
amandad: time 20.008: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: dgram_send_addr(addr=0xfeeb92b0, dgram=0xa32084)
amandad: time 20.008: (sockaddr_in *)0xfeeb92b0 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 30.007: timeout
amandad: time 30.007: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: dgram_send_addr(addr=0xfeeb9300, dgram=0xa32084)
amandad: time 30.007: (sockaddr_in *)0xfeeb9300 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 40.005: timeout
amandad: time 40.005: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: dgram_send_addr(addr=0xfeeb9300, dgram=0xa32084)
amandad: time 40.005: (sockaddr_in *)0xfeeb9300 = { 2, 811, 192.168.200.50 }
amandad: dgram_send_addr: 0xa32084->socket = 0
amandad: time 50.004: timeout
amandad: time 50.004: timeout waiting for ACK for our REP
security_close(handle=0x8945ef0, driver=0xa310e0 (BSD))
amandad: time 60.002: pid 6425 finish time Tue Nov 21 09:41:50 2006



in amanda host i added client hosts

Amanda 2.5.1p2 and Fedora Core 3
Please help me.

Artur

ppragin
November 21st, 2006, 03:05 PM
This is what the service on the client side should look like assuming its Amanda 2.5.1:
service amanda
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amandabackup
group = disk
groups = yes
server = /usr/lib/amanda/amandad
server_args = -auth=bsdtcp amdump
}