Amanda-Users

Re: ERROR: u07: [access as amanda not allowed from amanda@u03] amandahostsauth failed

2004-01-28 23:48:58
Subject: Re: ERROR: u07: [access as amanda not allowed from amanda@u03] amandahostsauth failed
From: Frank Smith <fsmith AT hoovers DOT com>
To: el AT infochem DOT de, amanda-users AT amanda DOT org
Date: Wed, 28 Jan 2004 22:41:48 -0600
--On Wednesday, January 28, 2004 13:52:10 +0100 Eugen Leitl <el AT infochem DOT 
de> wrote:

> I'm trying to backup the machine u07 from u07 (the one with the tape drive).
> 
> I'm getting a
> 
> ash-2.00$ amcheck daily
> Amanda Tape Server Host Check
> -----------------------------
> Holding disk /Disk2/AMANDA: 3376999 KB disk space available, that's plenty
> ERROR: cannot overwrite active tape DailySet101
>         (expecting a new tape)
> NOTE: skipping tape-writable test
> NOTE: info dir /usr/adm/amanda/DailySet1/curinfo/u07: does not exist
> NOTE: index dir /usr/adm/amanda/DailySet1/index/u07: does not exist
> Server check took 0.117 seconds
> 
> Amanda Backup Client Hosts Check
> --------------------------------
> ERROR: u07: [access as amanda not allowed from amanda@u03] amandahostsauth 
> failed
> Client check: 2 hosts checked in 1.405 seconds, 1 problem found
> 
> (brought to you by Amanda 2.4.4p1)
> 
> 
> I have a line for the amanda users in .amandahosts on u03:
> u07     amanda

You need a line for the server in the .amandahosts on the client, so in
your case need the following line in  your .amandahosts on u07:

u03     amanda
 
Frank

> and on u07 in /etc/services:
> 
> amanda          10080/udp                       # amanda
> 
> I have the following debug info on u07 in /tmp/amanda:
> bash-2.03$ cat /tmp/amanda/amandad.20040128135031.debug
> amandad: debug 1 pid 6646 ruid 400 euid 400: start at Wed Jan 28 13:50:31 2004
> amandad: version 2.4.4p1
> amandad: build: VERSION="Amanda-2.4.4p1"
> amandad:        BUILT_DATE="Fri Nov 28 18:42:47 WET 2003"
> amandad:        BUILT_MACH="SunOS u07 5.8 Generic_108528-13 sun4u sparc 
> SUNW,UltraAX-i2 Solaris"
> amandad:        CC="gcc"
> amandad:        CONFIGURE_COMMAND="'./configure' '--with-user=amanda' 
> '--with-group=sys'"
> 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="/usr/sbin/ufsdump"
> amandad:        RESTORE="/usr/sbin/ufsrestore" GNUTAR="/usr/local/bin/tar"
> amandad:        COMPRESS_PATH="/usr/local/bin/gzip"
> amandad:        UNCOMPRESS_PATH="/usr/local/bin/gzip"
> amandad:        MAILER="/usr/ucb/Mail"
> amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
> amandad: defs:  DEFAULT_SERVER="u07" DEFAULT_CONFIG="DailySet1"
> amandad:        DEFAULT_TAPE_SERVER="u07" DEFAULT_TAPE_DEVICE="/dev/null"
> amandad:        HAVE_MMAP HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID
> amandad:        DEBUG_CODE 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 001-0003EF18 SEQ 1075294975
> SECURITY USER amanda
> SERVICE noop
> OPTIONS features=fffffeff9ffe0f;
> --------
> 
> amandad: time 0.000: sending ack:
> ----
> Amanda 2.4 ACK HANDLE 001-0003EF18 SEQ 1075294975
> ----
> 
> amandad: time 0.002: bsd security: remote host u03 user amanda local user 
> amanda
> amandad: time 0.002: check failed: [access as amanda not allowed from 
> amanda@u03] amandahostsauth failed
> amandad: time 0.002: sending REP packet:
> ----
> Amanda 2.4 REP HANDLE 001-0003EF18 SEQ 1075294975
> ERROR [access as amanda not allowed from amanda@u03] amandahostsauth failed
> ----
> 
> amandad: time 0.004: got packet:
> ----
> Amanda 2.4 ACK HANDLE 001-0003EF18 SEQ 1075294975
> ----
> 
> amandad: time 0.004: pid 6646 finish time Wed Jan 28 13:50:31 2004





<Prev in Thread] Current Thread [Next in Thread>