[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Using Amanda client software, via Debian package.



After years of recomending to people that they build amanda from  source, instead of 
trying to us the Debian packages, I find myslef trying to do just that.

So, how is this suposed to work? I'm failing like this:


amandad: debug 1 pid 16259 ruid 34 euid 34 start time Sun Feb  3 13:35:48 2002
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
amandad:        BUILT_DATE="Wed Nov 14 22:33:37 MST 2001"
amandad:        BUILT_MACH="Linux rover 2.4.9 #1 Wed Sep 5 01:09:52 MDT 2001 i686 unknown"
amandad:        CC="gcc"
amandad: paths: bindir="/usr/sbin" 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" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/tar" COMPRESS_PATH="/bin/gzip"
amandad:        UNCOMPRESS_PATH="/bin/gzip" 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"
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"
got packet:
--------
Amanda 2.4 REQ HANDLE 008-40020518 SEQ 1012761342
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
DUMP rd2d 0 OPTIONS |;bsd-auth;srvcomp-best;index;
DUMP rd2a 0 OPTIONS |;bsd-auth;srvcomp-best;index;
DUMP rd1a 0 OPTIONS |;bsd-auth;srvcomp-best;index;
DUMP rd0d 0 OPTIONS |;bsd-auth;srvcomp-best;index;
DUMP rd0a 0 OPTIONS |;bsd-auth;srvcomp-best;index;
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 008-40020518 SEQ 1012761342
----

bsd security: remote host kodiak.fas.com user amanda local user backup
check failed: [access as backup not allowed from amanda@kodiak.fas.com] amandahostsauth failed
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 008-40020518 SEQ 1012761342
ERROR [access as backup not allowed from amanda@kodiak.fas.com] amandahostsauth failed
----

amandad: got packet:
----
Amanda 2.4 ACK HANDLE 008-40020518 SEQ 1012761342
----

amandad: pid 16259 finish time Sun Feb  3 13:35:48 2002

So I looked, and see that user backup, whch is aparantly what teh Amanda package is built with
as it's user has a home of /var/backups. Looking there .amandahosts is a link to
/etc/amandahosts, whch is owned by user backup. So I put the following in there:


localhost backup
+stan
+root
kodiak
kodiak.fas.com
kodiak root
kodiak.fas.com root
kodiak backup
kodiak.fas.com backup

kodiak is the tapehost.

But it still fails in exactly the same way. Before I dlete the packge, and build it form
source, I thought I would ask how it's supposed to work.

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin



Reply to: