PDA

View Full Version : Windows client



phaidros
September 4th, 2007, 12:47 PM
Hi folks,

I have severe trouble with a Windows client (amanda on cygwin): The installation itself worked fine, but now - no matter what I try - dumps from that Windows client fail, amstatus reports:

winhost:C: 0 planner: [missing result for C: in winhost response]

I already tried 'C:', 'C:\' and '/cygdrive/c' in the disklist-file, always with the very same result. And by the way: I also tried "estimate calcsize" to no effect - this doesn't seem to be a timeout!

No packets or datagrams get stuck in a firewall - neither on the router, nor on the Windows machine itself (at least the logs say so).

amcheck finds no errors, I do "bsd"-authentication as this works fine with the linux clients. Compression and/or encryption I haven't tested so far, so I'm not using those either.

The sendsize - debugfiles on the Windows client look fine (attached below). At least I can't find any error in them.

Can anyone help me out of there? What else can I provide? Any hint would be highly appreciated!

Thanks in advance,
Bests from Vienna/Austria
Phaidros



amandad: debug 1 pid 880 ruid 18 euid 18: start at Tue Sep 4 22:25:32 2007
Reading conf file "/usr/local/etc/amanda/amanda-client.conf".
amandad: time 0.000: security_getdriver(name=BSD) returns 0x426d50
amandad: version 2.5.2p1
amandad: time 0.000: build: VERSION="Amanda-2.5.2p1"
amandad: time 0.000: BUILT_DATE="Tue Sep 4 12:31:16 2007"
amandad: time 0.000: BUILT_MACH="CYGWIN_NT-5.2 ids 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin"
amandad: time 0.000: CC="gcc"
amandad: time 0.000: CONFIGURE_COMMAND="'./configure' '--without-server' '--without-force-uid' '--with-user=idsa' '--with-group=Administratoren'"
amandad: time 0.000: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: time 0.000: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: time 0.000: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: time 0.000: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/"
amandad: time 0.000: RDEV_PREFIX="/" DUMP="/bin/dump"
amandad: time 0.000: RESTORE="/usr/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad: time 0.000: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
amandad: time 0.000: SAMBA_CLIENT=UNDEF GNUTAR="/usr/bin/tar"
amandad: time 0.000: COMPRESS_PATH="/usr/bin/gzip"
amandad: time 0.000: UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad: time 0.000: MAILER="NONE"
amandad: time 0.000: listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: time 0.000: defs: DEFAULT_SERVER="ids" DEFAULT_CONFIG="DailySet1"
amandad: time 0.000: DEFAULT_TAPE_SERVER="ids" NEED_STRSTR HAVE_SYSVSHM
amandad: time 0.000: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad: time 0.000: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
amandad: time 0.000: CLIENT_LOGIN="idsa" HAVE_GZIP COMPRESS_SUFFIX=".gz"
amandad: time 0.000: COMPRESS_FAST_OPT="--fast" COMPRESS_BEST_OPT="--best"
amandad: time 0.000: UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0x42e884, timeout=0, fromaddr=0x43e870)
amandad: time 0.000: (sockaddr_in *)0x43e870 = { 2, 521, 192.168.0.2 }
amandad: time 0.000: security_handleinit(handle=0xad43f0, driver=0x426d50 (BSD))
amandad: time 0.015: accept recv REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=ffffffff9ffeffffffff00;
>>>>>
amandad: time 0.015: creating new service: noop
OPTIONS features=ffffffff9ffeffffffff00;

amandad: time 0.078: sending ACK pkt:
<<<<<
>>>>>
amandad: time 0.078: dgram_send_addr(addr=0xad4410, dgram=0x42e884)
amandad: time 0.078: (sockaddr_in *)0xad4410 = { 2, 521, 192.168.0.2 }
amandad: time 0.078: dgram_send_addr: 0x42e884->socket = 0
amandad: time 0.140: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff00;
>>>>>
amandad: time 0.140: dgram_send_addr(addr=0xad4410, dgram=0x42e884)
amandad: time 0.140: (sockaddr_in *)0xad4410 = { 2, 521, 192.168.0.2 }
amandad: time 0.140: dgram_send_addr: 0x42e884->socket = 0
amandad: time 0.140: dgram_recv(dgram=0x42e884, timeout=0, fromaddr=0x43e870)
amandad: time 0.140: (sockaddr_in *)0x43e870 = { 2, 521, 192.168.0.2 }
amandad: time 0.140: received ACK pkt:
<<<<<
>>>>>
amandad: time 0.140: security_close(handle=0xad43f0, driver=0x426d50 (BSD))
amandad: time 0.140: dgram_recv(dgram=0x42e884, timeout=0, fromaddr=0x43e870)
amandad: time 0.140: (sockaddr_in *)0x43e870 = { 2, 521, 192.168.0.2 }
amandad: time 0.140: security_handleinit(handle=0xad4350, driver=0x426d50 (BSD))
amandad: time 0.140: accept recv REQ pkt:
<<<<<
SERVICE sendsize
OPTIONS features=ffffffff9ffeffffffff00;maxdumps=1;hostnam e=ids;config=DailySet1;
CALCSIZE GNUTAR C: 0 1970:1:1:0:0:0 -1 OPTIONS |;auth=bsd;no-record;index;exclude-list=/etc/amanda/DailySet1/exclude.gtar;
>>>>>
amandad: time 0.140: creating new service: sendsize
OPTIONS features=ffffffff9ffeffffffff00;maxdumps=1;hostnam e=ids;config=DailySet1;
CALCSIZE GNUTAR C: 0 1970:1:1:0:0:0 -1 OPTIONS |;auth=bsd;no-record;index;exclude-list=/etc/amanda/DailySet1/exclude.gtar;

amandad: time 0.218: sending ACK pkt:
<<<<<
>>>>>
amandad: time 0.218: dgram_send_addr(addr=0xad4370, dgram=0x42e884)
amandad: time 0.218: (sockaddr_in *)0xad4370 = { 2, 521, 192.168.0.2 }
amandad: time 0.218: dgram_send_addr: 0x42e884->socket = 0
amandad: time 0.250: sending REP pkt:
<<<<<
>>>>>
amandad: time 0.250: dgram_send_addr(addr=0xad4370, dgram=0x42e884)
amandad: time 0.250: (sockaddr_in *)0xad4370 = { 2, 521, 192.168.0.2 }
amandad: time 0.250: dgram_send_addr: 0x42e884->socket = 0
amandad: time 0.250: dgram_recv(dgram=0x42e884, timeout=0, fromaddr=0x43e870)
amandad: time 0.250: (sockaddr_in *)0x43e870 = { 2, 521, 192.168.0.2 }
amandad: time 0.250: received ACK pkt:
<<<<<
>>>>>
amandad: time 0.250: security_close(handle=0xad4350, driver=0x426d50 (BSD))
amandad: time 30.250: pid 880 finish time Tue Sep 4 22:26:02 2007

ktill
September 4th, 2007, 03:49 PM
Hi,

I think the Amanda Window client (using cygwin) only supports auth bsdtcp or ssh.
See:
http://wiki.zmanda.com/index.php/Windows_client#Pre-installation_checklist

paddy
September 4th, 2007, 07:27 PM
Hi,

I think the Amanda Window client (using cygwin) only supports auth bsdtcp or ssh.
See:
http://wiki.zmanda.com/index.php/Windows_client#Pre-installation_checklist

It appears phaidros is not using windows client from Zmanda downloads (http://www.zmanda.com/download-amanda.php) page.

Please check to see if the amanda user on the server is "idsa". Please check to make sure .amandahosts and xinetd configuration files on the Windows client and server are set up correctly. See documentation on Amanda wiki (http://wiki.zmanda.com) (http://wiki.zmanda.com/index.php/Configuring_bsd/bsdudp/bsdtcp_authentication). Please note that you will have to make more changes if your Amanda server is running 2.5.0 or earlier version.

Thanks,
Paddy