PDA

View Full Version : selfcheck request failed: timeout waiting for REP



khalil_noura
July 13th, 2009, 05:22 AM
I am not sure where to start, the backup was working fine. I left for vacation and one of the clients wit was rebooted to fix an NFS error since the reboot I started to get this error message when I run amcheck.

amandad debug on client output is:

1247489557.427870: amandad: security_getdriver(name=bsdtcp) returns 0x2a957a8900
1247489557.427912: amandad: version 2.6.1p1
1247489557.427919: amandad: build: VERSION="Amanda-2.6.1p1"
1247489557.427924: amandad: BUILT_DATE="Fri Apr 10 16:13:25 PDT 2009"
1247489557.427930: amandad: BUILT_MACH="x86_64-unknown-linux-gnu" BUI
LT_REV="1860"
1247489557.427935: amandad: BUILT_BRANCH="amanda-261" CC="gcc"
1247489557.427939: amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
1247489557.427944: amandad: libexecdir="/usr/libexec"
1247489557.427949: amandad: amlibexecdir="/usr/libexec/amanda" mandir
="/usr/share/man"
1247489557.427954: amandad: AMANDA_TMPDIR="/tmp/amanda"
1247489557.427959: amandad: AMANDA_DBGDIR="/var/log/amanda" CONFIG_DI
R="/etc/amanda"
1247489557.427964: amandad: DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/r"
1247489557.427969: amandad: DUMP="/sbin/dump" RESTORE="/sbin/restore"
VDUMP=UNDEF
1247489557.427974: amandad: VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=U
NDEF VXDUMP=UNDEF
1247489557.427979: amandad: VXRESTORE=UNDEF SAMBA_CLIENT="/usr/bin/sm
bclient"
1247489557.427983: amandad: GNUTAR="/bin/tar" COMPRESS_PATH="/usr/bin
/gzip"
1247489557.427988: amandad: UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/
usr/bin/lpr"
1247489557.427993: amandad: MAILER=UNDEF listed_incr_dir="/var/lib/a
manda/gnutar-lists"
1247489557.427998: amandad: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG
="DailySet1"
1247489557.428003: amandad: DEFAULT_TAPE_SERVER="localhost" DEFAULT_T
APE_DEVICE=""
1247489557.428008: amandad: HAVE_MMAP NEED_STRSTR HAVE_SYSVSHM AMFLOC
K_POSIX AMFLOCK_FLOCK
1247489557.428013: amandad: AMFLOCK_LOCKF AMFLOCK_LNLOCK SETPGRP_VOID
ASSERTIONS
1247489557.428018: amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMAN
DAHOSTS
1247489557.428022: amandad: CLIENT_LOGIN="amandabackup" CHECK_USERID
HAVE_GZIP
1247489557.428027: amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="
--fast"
1247489557.428032: amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT
="-dc"
1247489557.428605: amandad: security_handleinit(handle=0x513270, driver=0x2a957a
8900 (BSDTCP))
1247489557.428625: amandad: security_streaminit(stream=0x5133c0, driver=0x2a957a
8900 (BSDTCP))
1247489557.439890: amandad: accept recv REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=ffffffff9ffeffffffff7f;
>>>>>
1247489557.439926: amandad: creating new service: noop
OPTIONS features=ffffffff9ffeffffffff7f;

1247489557.441944: amandad: sending ACK pkt:
<<<<<
>>>>>
1247489557.462150: amandad: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
>>>>>
1247489557.462372: amandad: received ACK pkt:
<<<<<
>>>>>
1247489557.462396: amandad: security_close(handle=0x513270, driver=0x2a957a8900
(BSDTCP))
1247489557.462406: amandad: security_stream_close(0x5133c0)
1247489557.503289: amandad: security_handleinit(handle=0x513390, driver=0x2a957a
8900 (BSDTCP))
1247489557.503303: amandad: security_streaminit(stream=0x5134a0, driver=0x2a957a
8900 (BSDTCP))
1247489557.503431: amandad: accept recv REQ pkt:
<<<<<
SERVICE sendsize
OPTIONS features=ffffffff9ffeffffffff7f;maxdumps=1;hostnam e=banprod.curry.edu;co
nfig=WeeklySet1;
<dle>
<program>GNUTAR</program>
<estimate>CLIENT</estimate>
<disk>/var</disk>
<level>0</level>
<spindle>-1</spindle>
<auth>bsdtcp</auth>
<compress>FAST</compress>
<record>YES</record>
<index>YES</index>
</dle>
>>>>>
1247489557.503450: amandad: creating new service: sendsize
OPTIONS features=ffffffff9ffeffffffff7f;maxdumps=1;hostnam e=banprod.curry.edu;co
nfig=WeeklySet1;
<dle>
<program>GNUTAR</program>
<estimate>CLIENT</estimate>
<disk>/var</disk>
<level>0</level>
<spindle>-1</spindle>
<auth>bsdtcp</auth>
<compress>FAST</compress>
<record>YES</record>
<index>YES</index>
</dle>

1247489557.505164: amandad: sending ACK pkt:
<<<<<
>>>>>
1247489557.516305: amandad: sending PREP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
>>>>>
1247489565.639927: amandad: security_stream_seterr(0x5134a0, SOCKET_EOF)
1247489565.639962: amandad: security_seterror(handle=0x513390, driver=0x2a957a89
00 (BSDTCP) error=EOF on read from new.curry.edu)
1247489565.639972: amandad: receive error: EOF on read from new.curry.edu
1247490639.056194: amandad: sending PREP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
/var 0 SIZE 409690
>>>>>
1247490639.056252: amandad: security_stream_seterr(0x5134a0, write error to: Bad
file descriptor)
1247490639.056262: amandad: security_seterror(handle=0x513390, driver=0x2a957a89
00 (BSDTCP) error=write error to: Bad file descriptor)
1247490639.056876: amandad: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
/var 0 SIZE 409690
>>>>>
1247490639.056891: amandad: security_stream_seterr(0x5134a0, write error to: Bad
file descriptor)
1247490639.056899: amandad: security_seterror(handle=0x513390, driver=0x2a957a89
00 (BSDTCP) error=write error to: Bad file descriptor)
1247490649.056007: amandad: timeout
1247490649.056049: amandad: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
/var 0 SIZE 409690
>>>>>
1247490649.056073: amandad: security_stream_seterr(0x5134a0, write error to: Bad
file descriptor)
1247490649.056081: amandad: security_seterror(handle=0x513390, driver=0x2a957a89
00 (BSDTCP) error=write error to: Bad file descriptor)
1247490659.055465: amandad: timeout
1247490659.055500: amandad: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
/var 0 SIZE 409690
>>>>>
1247490659.055522: amandad: security_stream_seterr(0x5134a0, write error to: Bad
file descriptor)
1247490659.055531: amandad: security_seterror(handle=0x513390, driver=0x2a957a89
00 (BSDTCP) error=write error to: Bad file descriptor)
1247490669.054908: amandad: timeout
1247490669.054958: amandad: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
/var 0 SIZE 409690
>>>>>
1247490669.054980: amandad: security_stream_seterr(0x5134a0, write error to: Bad
file descriptor)
1247490669.054989: amandad: security_seterror(handle=0x513390, driver=0x2a957a89
00 (BSDTCP) error=write error to: Bad file descriptor)
1247490679.054360: amandad: timeout
1247490679.054394: amandad: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff7f;
/var 0 SIZE 409690
>>>>>
1247490679.054416: amandad: security_stream_seterr(0x5134a0, write error to: Bad
file descriptor)
1247490679.054425: amandad: security_seterror(handle=0x513390, driver=0x2a957a89
00 (BSDTCP) error=write error to: Bad file descriptor)
1247490689.053809: amandad: timeout
1247490689.053849: amandad: timeout waiting for ACK for our REP
1247490689.053884: amandad: security_close(handle=0x513390, driver=0x2a957a8900
(BSDTCP))
1247490689.053893: amandad: security_stream_close(0x5134a0)
1247490689.053939: amandad: pid 7097 finish time Mon Jul 13 09:11:29 2009
(END)

khalil_noura
July 16th, 2009, 01:40 PM
problem resolved:

- the server I am trying to Backup is an NFS client that mounts windows shares (30). I dismounted the shares run amcheck and it works without any problem. as soon as i mounted the shares Amcheck errors out.

- I think my problem is related to those Windows NFS shares we mount.
- I have to run a dismount before the backup then amount after.

Thanks