Amanda-Users

Re: amandad not running

2003-12-08 15:37:30
Subject: Re: amandad not running
From: jessica blackburn <jblackburn AT hirzel DOT com>
To: amanda-users AT amanda DOT org
Date: 08 Dec 2003 15:36:02 -0500
I have check the debug files and this is the response i'm getting:  

amandad: debug 1 pid 5160 ruid 33 euid 33: start at Mon Dec  8 14:22:07
2003
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad:        BUILT_DATE="Thu Feb 13 11:14:37 EST 2003"
amandad:        BUILT_MACH="Linux stripples.devel.redhat.com
2.4.20-2.41smp #1 SMP Sun Feb 9 09:47:42 EST 2003 i686 i686 i386
GNU/Linux"
amandad:        CC="gcc"
amandad:        CONFIGURE_COMMAND="'./configure'
'--host=i386-redhat-linux' '--build=i386-redhat-linux'
'--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/lib/amanda'
'--localstatedir=/var/lib' '--sharedstatedir=/usr/com'
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-shared'
'--with-index-server=localhost'
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists'
'--with-smbclient=/usr/bin/smbclient' '--with-amandahosts'
'--with-user=amanda' '--with-group=disk' '--with-gnutar=/bin/tar'"
amandad: paths: bindir="/usr/bin" 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/r" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore"
SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/tar" COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/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="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 000-A0660608 SEQ 1070911327
SECURITY USER amanda
SERVICE noop
OPTIONS features=fffffeff9f00;
--------
 
amandad: time 0.000: sending ack:
----
Amanda 2.4 ACK HANDLE 000-A0660608 SEQ 1070911327
----
 
amandad: time 0.001: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-A0660608 SEQ 1070911327
ERROR [addr 10.1.1.245: hostname lookup failed]
----
 
amandad: time 0.001: got packet:
----
Amanda 2.4 ACK HANDLE 000-A0660608 SEQ 1070911327
----
 
amandad: time 0.001: pid 5160 finish time Mon Dec  8 14:22:07 2003





Where is it looking for the hostname??  i have it set in both my
disklist and .amandahosts to hccweb.  where else would it need to be
set?

thanks again!

jess

On Mon, 2003-12-08 at 15:06, Jon LaBadie wrote:
> On Mon, Dec 08, 2003 at 02:29:07PM -0500, jessica blackburn wrote:
> > i'm trying to run an amcheck and am getting a host down error.  i
> > checked and found out that amandad starts running but then stops for
> > some reason.  when i do a xinetd -d this is the error i get:
> > 
> > 03/12/8@14:14:46: ERROR: 4789 {find_bad_fd} file descriptor of service
> > amanda has been closed
> > 
> > any ideas what i might be missing?
> > 
> > thanks for your time!
> 
> Since amandad starts on the client, have you checked the /tmp/amanda
> debug files on that system?