PDA

View Full Version : Connection reset by peer


Adina
November 12th, 2006, 01:23 AM
I get a warning when running amcheck:
Client Hosts Check.... selfcheck request failed: recv error: Connection reset by peer

Does anyone know what might be the problem? I get debug files in /tmp/amanda on the client.

paddy
November 12th, 2006, 04:43 PM
Can you please post information from /tmp/amanda/selfcheck log file? If you are using
2.5.1 or later release, please look for log file under /tmp/amanda/<configuration name>/client/ directory.

Paddy

Adina
November 13th, 2006, 04:40 AM
/tmp/amanda/amandad/ amandad.20061112085222.debug:

amandad: debug 1 pid 27172 ruid 0 euid 0: start at Sun Nov 12 08:52:22 2006
security_getdriver(name=bsdtcp) returns 0xf7f6d140
amandad: version 2.5.1p1
amandad: build: VERSION="Amanda-2.5.1p1"
amandad: BUILT_DATE="Wed Oct 18 21:12:50 PDT 2006"
amandad: BUILT_MACH="Linux suzy 2.6.16.14-6-smp #1 SMP Tue May 9 12:09:06 UTC 2006 i686 athlon i386 GNU/Linux"
amandad: CC="gcc"
amandad: CONFIGURE_COMMAND="'./configure' '--build=i586-suse-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=UNDEF RESTORE=UNDEF VDUMP=UNDEF
amandad: VRESTORE=UNDEF XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
amandad: VXRESTORE=UNDEF SAMBA_CLIENT="/usr/bin/smbclient"
amandad: GNUTAR="/bin/tar" COMPRESS_PATH="/usr/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad: 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: pid 27172 finish time Sun Nov 12 08:52:22 2006

paddy
November 13th, 2006, 05:09 PM
Adina,

It appears amandad is not starting properly. Can you try running it by hand as "amandabackup" user?

/usr/lib/amanda/amandad

Paddy