PDA

View Full Version : selfcheck request failed: recv error: Connection reset by peer


ba0547
February 12th, 2007, 02:17 PM
Hello,

have following error/warning.

/usr/lib/amanda/amandad seems to run correctly? sometimes it
interrupts after 30 sec. donīt know what this log can tell me.


amandad: debug 1 pid 4228 ruid 37 euid 37: start at Mon Feb 12 20:22:10
2007
security_getdriver(name=bsdtcp) returns 0x806ad40
amandad: version 2.5.1p2
amandad: build: VERSION="Amanda-2.5.1p2"
amandad: BUILT_DATE="Wed Feb 7 16:31:01 UTC 2007"
amandad: BUILT_MACH="Linux cimarosa 2.6.18 #1 SMP Mon May 22
14:37:02 UTC 2006 i686 i686 i386 GNU/Linux"
amandad: CC="gcc" CONFIGURE_COMMAND="'./configure' 'linux' 'gnu'"
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="/sbin/dump"
amandad: RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
amandad: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
amandad: 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 DEBUG_CODE
amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY
USE_AMANDAHOSTS
amandad: CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.069: he returned NULL: h_errno = 1
amandad: time 0.070: pid 4228 finish time Mon Feb 12 20:22:10 2007

as auth i am using bsdtcp. like described here in another discussion.
have ..ack error with bsd authentication. amanda server itself is
correctly working and did several backups in the last vew days. server
is running on open suse 10.1 on a i586 machine, 1 client is running on
debian 4 on a sparc machine, other is a open suse 10.1 client on amd 64
machine. both clients seem to have the same connection reset problem.
tried all which is described in other topics here. /etc/xinetd/amanda
has following data:

service amanda
{
socket_type = stream
only_from = 192.168.2.7 192.168.2.5 p400.dorg.org
linux-k67x.dorg.org
protocol = tcp
wait = no
user = amanda
group = disk
groups = yes
server = /usr/lib/amanda/amandad
server_args = -auth=bsdtcp amdump amindexd amidxtaped
disable = no
}

1. I am not shure if i can use static ipv4 adresses in xinetd configfiles.
2. I am not shure if on all machines the same backupuser has to be used.
sparc machine (client) is using user backup:backup, amd64 machine user
amanda:disk.
3. Firewall on AMD 64 is set to "test" mode.
4. server and amd64 client has amanda 2.5.1p2 sparc client 2.5.1p1
5. dumpdirectories, dump, and xfsdump is installed on all 3 machines.
6. i am not shure what has to be in .amandahosts file on the clients.
7. dont know which files has to be exclusive chmod/chown for amanda
backup user.
8. Ananda wiki also did not give me further informations for my specific
problem

Please help. i want to backup my clients also.

regards, harald.

martineau
February 12th, 2007, 03:27 PM
Are you sure the client can resolve the server IP address?

ba0547
February 13th, 2007, 01:27 PM
Hello,

you were right. i forgot to enter servers adress to hosts file in /etc/ directory. now everything seems to work fine.

thanks for your help.

regards, harald.