PDA

View Full Version : amcheck error with Windows client



ecalabre
June 2nd, 2008, 01:16 PM
I get the following error when running amcheck:

ERROR: NAK winblade3.mydomain.com: invalid REQ
Client check: 2 hosts checked in 1.111 seconds. 1 problem found.

My Amanda server is on RHEL 5U1 and the failing client is Windows 2003 Server.


Here is the latest debug file from the client:

amandad: debug 1 pid 3212 ruid 1003 euid 1003: start at Mon Jun 2 15:46:27 2008
Reading conf file "/etc/amanda/amanda-client.conf".
amandad: time 0.001: security_getdriver(name=ssh) returns 0x428030
amandad: version 2.5.2p1
amandad: time 0.001: build: VERSION="Amanda-2.5.2p1"
amandad: time 0.001: BUILT_DATE="Wed Jun 6 22:18:20 PDT 2007"
amandad: time 0.001: BUILT_MACH="CYGWIN_NT-5.1 windows-build 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin"
amandad: time 0.001: CC="gcc" CONFIGURE_COMMAND="'./configure' 'cygwin'"
amandad: time 0.002: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad: time 0.002: libexecdir="/usr/lib/amanda" mandir="/usr/man"
amandad: time 0.002: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: time 0.002: CONFIG_DIR="/etc/amanda" DEV_PREFIX="/" RDEV_PREFIX="/"
amandad: time 0.002: DUMP="/bin/dump" RESTORE="/usr/sbin/restore" VDUMP=UNDEF
amandad: time 0.002: VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
amandad: time 0.002: VXRESTORE=UNDEF SAMBA_CLIENT=UNDEF GNUTAR="/bin/tar.exe"
amandad: time 0.002: COMPRESS_PATH="/usr/bin/gzip"
amandad: time 0.002: UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad: time 0.002: MAILER="NONE"
amandad: time 0.002: listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: time 0.002: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad: time 0.002: DEFAULT_TAPE_SERVER="localhost" NEED_STRSTR HAVE_SYSVSHM
amandad: time 0.002: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad: time 0.002: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
amandad: time 0.002: CLIENT_LOGIN="amandabackup" HAVE_GZIP
amandad: time 0.002: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: time 0.002: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.003: security_handleinit(handle=0xad4728, driver=0x428030 (SSH))
amandad: time 0.003: security_streaminit(stream=0xad5080, driver=0x428030 (SSH))
amandad: time 0.003: accept recv REQ pkt:
<<<<<
SECURITY USER amandabackup
SERVICE noop
OPTIONS features=ffffffff9ffeffffffff00;
>>>>>
amandad: time 0.003: received invalid REQ packet:
<<<<<
SECURITY USER amandabackup
SERVICE noop
OPTIONS features=ffffffff9ffeffffffff00;
>>>>>

amandad: time 0.003: sending NAK pkt:
<<<<<
ERROR invalid REQ
>>>>>
amandad: time 0.003: security_close(handle=0xad4728, driver=0x428030 (SSH))
amandad: time 0.003: security_stream_close(0xad5080)
amandad: time 0.003: pid 3212 finish time Mon Jun 2 15:46:27 2008

Any help would be most appreciated.

Thank you

paddy
October 2nd, 2008, 05:17 PM
I get the following error when running amcheck:

ERROR: NAK winblade3.mydomain.com: invalid REQ
Client check: 2 hosts checked in 1.111 seconds. 1 problem found.


Please check .amandahosts file on the server. It should have following entry:

<client name> root amindexd amidxtaped

Paddy