Hello, I recently built and installed amanda 2.4.3b3 on FreeBSD-4.5 CURRENT. AMANDA 2.4.2p3 had previously been running for a day or so with no problems.
The current problem is with sendsize/selfcheck. If the machine tries to contact itself for amcheck, I get errors in syslog about selfcheck dumping core. Similarly, sendsize dumps core when amdump is run. Note that this is only a problem with the client-side stuff on the AMANDA server...it has no problem backing up remote hosts. 1. My inetd.conf/services entries are correct and inetd has been kicked. 2. sendsize/selfcheck/runtar/etc are setuid root. 3. amanda user has write access to /tmp/amanda, and execute permissions on everything else it needs. The selfcheck debug file is pretty useless: $ cat selfcheck.20020405102747.debug selfcheck: debug 1 pid 59848 ruid 1011 euid 1011 start time Fri Apr 5 10:27:47 2002 /usr/local/amanda/libexec/selfcheck: version 2.4.3b3 $ i.e. no info after version string, I guess this is where it just dumps core. Here is a snippet of the amandad.debug file, which seems uneventful to me... amandad: debug 1 pid 59847 ruid 1011 euid 1011 start time Fri Apr 5 10:27:47 2002 amandad: version 2.4.3b3 amandad: build: VERSION="Amanda-2.4.3b3" amandad: BUILT_DATE="Thu Apr 4 12:12:11 CST 2002" amandad: BUILT_MACH="FreeBSD quanta.apacteleservices.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Mar 31 03:44:38 CST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/QUANTA i386" amandad: CC="gcc" amandad: CONFIGURE_COMMAND="'./configure' '--with-user=amanda' '--with-tape-device=file:/usr/tapedev' '--with-group=operator' '--with-config=Daily' '--prefix=/usr/local/amanda' '--with-index-server=quanta.apacteleservices.com' '--with-tape-server=quanta.apacteleservices.com' '--with-gnutar' '--with-smbclient' '--without-bsd-security' '--with-gnu-ld'" amandad: paths: bindir="/usr/local/amanda/bin" amandad: sbindir="/usr/local/amanda/sbin" amandad: libexecdir="/usr/local/amanda/libexec" amandad: mandir="/usr/local/amanda/man" AMANDA_TMPDIR="/tmp/amanda" amandad: AMANDA_DBGDIR="/tmp/amanda" amandad: CONFIG_DIR="/usr/local/amanda/etc/amanda" amandad: DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/r" amandad: DUMP="/sbin/dump" RESTORE="/sbin/restore" amandad: SAMBA_CLIENT="/usr/local/bin/smbclient" amandad: GNUTAR="/usr/local/bin/gtar" COMPRESS_PATH="/usr/bin/gzip" amandad: UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail" amandad: listed_incr_dir="/usr/local/amanda/var/amanda/gnutar-lists" amandad: defs: DEFAULT_SERVER="quanta.apacteleservices.com" amandad: DEFAULT_CONFIG="Daily" amandad: DEFAULT_TAPE_SERVER="quanta.apacteleservices.com" amandad: DEFAULT_TAPE_DEVICE="file:/usr/tapedev" HAVE_MMAP amandad: HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE amandad: AMANDA_DEBUG_DAYS=4 CLIENT_LOGIN="amanda" FORCE_USERID amandad: HAVE_GZIP COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" got packet: -------- Amanda 2.4 REQ HANDLE 000-80800808 SEQ 1018024067 SECURITY USER amanda SERVICE selfcheck OPTIONS ; GNUTAR /var/db/mysql 0 OPTIONS |;bsd-auth;compress-fast;no-record;index;exclude-list=/usr/local/lib/amanda/exclude.gtar; GNUTAR /etc 0 OPTIONS |;bsd-auth;compress-fast;no-record;index;exclude-list=/usr/local/lib/amanda/exclude.gtar; GNUTAR /usr/local 0 OPTIONS |;bsd-auth;compress-fast;no-record;index;exclude-list=/usr/local/lib/amanda/exclude.gtar; -------- sending ack: ---- Amanda 2.4 ACK HANDLE 000-80800808 SEQ 1018024067 ---- amandad: running service "/usr/local/amanda/libexec/selfcheck" amandad: sending REP packet: ---- Amanda 2.4 REP HANDLE 000-80800808 SEQ 1018024067 ---- amandad: got packet: ---- Amanda 2.4 ACK HANDLE 000-80800808 SEQ 1018024067 ---- amandad: pid 59847 finish time Fri Apr 5 10:27:48 2002 Some familiar with FreeBSD may want to know whether I built from ports or the tarball...I used the tarball, but I checked the ports package of 2.4.3 and there are no patches that are relevent to this client code, only Makefile changes. If anyone could point me in the right direction I would be greatly appreciative. Thanks. -- Greg Mohney Technical Specialist, UNIX Administration APAC Customer Services (319) 896-5027
