Paul Bijnens wrote:
Thanks for your reply!Anthony Valentine wrote:I am attempting to upgrade from 2.4.2p2 to 2.4.5. The configure and compile seemed to run fine, with only a warning about missing gnuplot. However, the selfcheck program doesn't seem to be working. Below is the output from the 2.4.5 version and the 2.4.2p2 version. 2.4.5 seems to start, then quit before doing anything.Amanda 2.4.5: sbsdp|amv: /var/log/amanda > cat selfcheck.20050531095251.debug selfcheck: debug 1 pid 524520 ruid 203 euid 203: start at Tue May 31 09:52:51 2005 /usr/local/libexec/selfcheck: version 2.4.5Seems like it crashes or so? Can you try to execute it manally like this: (echo 'OPTIONS features=fffffeff9ffe7f;' ; echo 'GNUTAR / 0') | /usr/local/libexec/selfcheck Or it could be that amandad crashes before it can give the necessary input to selfcheck. Have in look that the amandad.*.debug file too. I get a seg fault when I try that command. Output is below (tabs added for readability). sbsdp|amanda: /home/amanda > (echo 'OPTIONS features=fffffeff9ffe7f;' ; echo 'GNUTAR / 0') | /usr/local/libexec/selfcheck Segmentation fault sbsdp|amanda: /home/amanda > cat /var/log/amanda/selfcheck.20050601093600.debug selfcheck: debug 1 pid 991306 ruid 203 euid 203: start at Wed Jun 1 09:36:00 2005 /usr/local/libexec/selfcheck: version 2.4.5 Here is an amandad.debug file: amandad: debug 1 pid 377006 ruid 203 euid 203: start at Wed Jun 1 09:29:49 2005 amandad: version 2.4.5 amandad: build: VERSION="Amanda-2.4.5" amandad: BUILT_DATE="Wed Jun 1 09:18:19 ADT 2005" amandad: BUILT_MACH="AIX sbsdp 2 5 000C064A4C00" CC="cc" amandad: CONFIGURE_COMMAND="'./configure' '--with-user=amanda' '--with-owner=amanda' '--with-group=backup' '--without-server' '--prefix=/usr/local' '--with-gnutar=/usr/local/libexec/amtar' '--with-debugging=/var/log/amanda' '--with-amandahosts' '--with-configdir=/usr/local/etc/amanda' '--with-tape-server=sbs.sbsalaska.com' '--with-index-server=sbs.sbsalaska.com' '--with-config=Gemini'" amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin" amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man" amandad: AMANDA_TMPDIR="/tmp/amanda" amandad: AMANDA_DBGDIR="/var/log/amanda" amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/" amandad: RDEV_PREFIX="/dev/r" DUMP="/usr/sbin/backup" amandad: RESTORE="/usr/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF amandad: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF amandad: SAMBA_CLIENT="/bin/smbclient" amandad: GNUTAR="/usr/local/libexec/amtar" amandad: COMPRESS_PATH="/usr/linux/bin/gzip" amandad: UNCOMPRESS_PATH="/usr/linux/bin/gzip" LPRCMD="/bin/lpr" amandad: MAILER="/bin/Mail" amandad: listed_incr_dir="/usr/local/var/amanda/gnutar-lists" amandad: defs: DEFAULT_SERVER="sbs.sbsalaska.com" DEFAULT_CONFIG="Gemini" amandad: DEFAULT_TAPE_SERVER="sbs.sbsalaska.com" amandad: DEFAULT_TAPE_DEVICE="/dev/null" AIX_BACKUP AIX_TAPEIO amandad: HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE amandad: AMANDA_DEBUG_DAYS=4 BSD_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.000: got packet: -------- Amanda 2.4 REQ HANDLE 002-2004A8A8 SEQ 1117647009 SECURITY USER amanda SERVICE selfcheck OPTIONS ; GNUTAR /gemini/disk4/sort 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk4/LOS 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk4/stbkup 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk4/lspol 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk3/iq 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk3/uucppublic 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk3/age 0 OPTIONS |;bsd-auth;index; GNUTAR /gemini/disk3/archive 0 OPTIONS |;bsd-auth;index; GNUTAR /gemini/disk2/d7 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk2/d2 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk1/sys 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk1/obj 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk1/laisys 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk1/d5 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk1/d1 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /gemini/disk1/d0 0 OPTIONS |;bsd-auth;compress-fast;index; GNUTAR /var/spool/cron/crontabs 0 OPTIONS |;bsd-auth;compress-fast;index; -------- amandad: time 0.000: sending ack: ---- Amanda 2.4 ACK HANDLE 002-2004A8A8 SEQ 1117647009 ---- amandad: time 0.001: bsd security: remote host sbs.sbsalaska.com user amanda local user amanda amandad: time 0.004: amandahosts security check passed amandad: time 0.004: running service "/usr/local/libexec/selfcheck" amandad: time 0.099: sending REP packet: ---- Amanda 2.4 REP HANDLE 002-2004A8A8 SEQ 1117647009 ---- amandad: time 0.100: got packet: ---- Amanda 2.4 ACK HANDLE 002-2004A8A8 SEQ 1117647009 ---- amandad: time 0.100: pid 377006 finish time Wed Jun 1 09:29:49 2005 |
- Re: Problem with 2.4.5's selfcheck Anthony Valentine
- Re: Problem with 2.4.5's selfcheck Paul Bijnens
- Re: Problem with 2.4.5's selfcheck Anthony Valentine
- Re: Problem with 2.4.5's selfcheck Anthony Valentine
- Re: Problem with 2.4.5's selfcheck Gene Heskett