Amanda-Users

Problems with amanda on Cygwin

2006-08-31 12:43:35
Subject: Problems with amanda on Cygwin
From: Nathan Weston <nathan AT genarts DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 31 Aug 2006 12:36:37 -0400
I'm trying to run the amanda client under cygwin (the client in question has some weird SMB problem that causes it to hang when copying large numbers of files, so I can't back it up over SMB).

I followed the instructions in the Amanda on Cygwin HOWTO at amanda.org. When I run amcheck -c on the backup server I get timeouts trying to reach the windows client:

WARNING: lens.genartsi.com: selfcheck request failed: timeout waiting for ACK

If I run inetd -d on the windows machine, I get output like this:
...
ADD : amanda proto=udp, wait=1, user=System builtin=0 server=/usr/local/libexec/amandad
registered /usr/local/libexec/amandad on 14
...
someone wants amanda
+ Closing from 16
3004 execl /usr/local/libexec/amandad
3004 reaped, status 0x100
restored amanda, fd 14

The last bit repeats indefinitely.

In /tmp/amanda, there's a .debug file that looks like this:
amandad: debug 1 pid 2100 ruid 1007 euid 1007: start at Thu Aug 31 11:25:10 2006
security_getdriver(name=BSD) returns 0x423b60
amandad: version 2.5.1b2
amandad: build: VERSION="Amanda-2.5.1b2"
amandad:        BUILT_DATE="Wed Aug 30 17:17:53 EST 2006"
amandad: BUILT_MACH="CYGWIN_NT-5.1 Lens 1.5.16(0.128/4/2) 2005-04-25 20:26 i686 unknown unknown Cygwin"
amandad:        CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--without-server' '--without-force-uid' '--with-user=nathan'
 '--with-group=Administrators'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:        libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/"
amandad:        RDEV_PREFIX="/" DUMP=UNDEF RESTORE=UNDEF VDUMP=UNDEF
amandad:        VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
amandad:        VXRESTORE=UNDEF SAMBA_CLIENT=UNDEF GNUTAR="/usr/bin/tar"
amandad:        COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad:        MAILER="NONE"
amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="Lens" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="Lens" HAVE_SYSVSHM LOCKING=POSIX_FCNTL
amandad:        SETPGRP_VOID DEBUG_CODE AMANDA_DEBUG_DAYS=4 BSD_SECURITY
amandad:        RSH_SECURITY USE_AMANDAHOSTS CLIENT_LOGIN="nathan" HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 4.663: dgram_recv(dgram=0x0, timeout=4431216, fromaddr=0x40)
amandad: (sockaddr_in *)0x439d70 = { 0, 0, 0.0.0.0 }
amandad: dgram_recv: recvfrom() failed: Socket operation on non-socket
amandad: time 4.665: dgram_recv(dgram=0x0, timeout=4431216, fromaddr=0x439d70)
amandad: (sockaddr_in *)0x439d70 = { 0, 0, 0.0.0.0 }
amandad: dgram_recv: recvfrom() failed: Socket operation on non-socket
amandad: time 4.665: dgram_recv(dgram=0x0, timeout=4431216, fromaddr=0x439d70)
(this error repeats many times)

Any ideas?

--
. . . . . . . . . . . . . . . . . . . . . . . . .
Nathan Weston                   nathan AT genarts DOT com
GenArts, Inc.                   Tel: 617-492-2888
955 Mass. Ave                   Fax: 617-492-2852
Cambridge, MA 02139 USA         www.genarts.com

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