I'm trying to get the amanda client working on this Irix machine, using
the GNUTAR dump method.
The client is now running OK (after many and various problems which I
won't go into here) however amcheck -c reports that GNUTAR isn't available
on the client (and therefore won't dump anything)
Here's what's in /tmp/amanda/amandad.<blah>.debug:
|amandad: debug 1 pid 914 ruid 10002 euid 10002 start time Mon Jan 21 15:08:06 2002
|amandad: version 2.4.2p2
|amandad: build: VERSION="Amanda-2.4.2p2"
|amandad: BUILT_DATE="Thu Dec 20 17:14:22 EDT 2001"
|amandad: BUILT_MACH="IRIX64 orion 6.4 02121744 IP27" CC="cc"
|amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
|amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
|amandad: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
|amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
|amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/sbin/dump"
|amandad: RESTORE="/sbin/restore" XFSDUMP="/sbin/xfsdump"
|amandad: XFSRESTORE="/sbin/xfsrestore"
|amandad: COMPRESS_PATH="/usr/sbin/gzip"
|amandad: UNCOMPRESS_PATH="/usr/sbin/gzip" MAILER="/usr/sbin/Mail"
|amandad: listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
|amandad: defs: DEFAULT_SERVER="orion" DEFAULT_CONFIG="DailySet1"
|amandad: DEFAULT_TAPE_SERVER="orion"
|amandad: DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
|amandad: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
|amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
|amandad: CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
|amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
|amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
... which seems to indicate that runtar would be looking for
/usr/local/bin/tar. So, it's there, and the path to it is free:
|orion[/tmp/amanda] 108v#: ls -ald /usr /usr/local /usr/local/bin /usr/local/bin/tar
|drwxr-xr-x 48 root sys 4096 Jan 21 14:44 /usr
|lrwxr-xr-x 1 root sys 34 Nov 7 16:25 /usr/local ->
|/Mount/exsci1/sci1/local/local_sgi
|drwxrwxr-x 6 root local 2802 Jan 21 15:03 /usr/local/bin
|-rwxr-xr-x 1 root sys 445948 Jan 21 14:17 /usr/local/bin/tar
I thought perhaps that because /Mount/exsci1 is an NFS share that there might
be permission problems when running as the backup user, but no, it executes:
|orion[/tmp/amanda] 110v#: su - backup
|orion% /usr/local/bin/tar --version
|tar (GNU tar) 1.13
|
|Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 Free Software Foundation, Inc.
|This is free software; see the source for copying conditions. There is NO
|warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|Written by John Gilmore and Jay Fenlason.
... so why would I get this on the server:
|tethys: {28} amcheck -c daily
|
|Amanda Backup Client Hosts Check
|--------------------------------
|ERROR: orion.earth.monash.edu.au: [GNUTAR program not available]
|Client check: 3 hosts checked in 0.445 seconds, 1 problem found
|
|(brought to you by Amanda 2.4.2)
It's got me totally stumped ... the _only_ thing I can think of was
that I didn't have tar in /usr/local/bin when I compiled the client on
this machine ... and I can't find any reference to tar in within
the runtar binary using strings, either ...
Can someone help me out here?
--
Malcolm Herbert This brain intentionally
[EMAIL PROTECTED] left blank