Going thru the FAQ (which I did before I posted)
#1. /var/adm/messages
Mar 14 21:59:45 db-dev inetd[158]: [ID 858011 daemon.warning]
/usr/local/libexec/amandad: Hangup
Mar 14 22:00:25 db-dev inetd[158]: [ID 667328 daemon.error] amanda/udp
server failing (looping), service terminated
#2. /etc/services
amanda 10080/udp # Amanda Tape Backup
amandaidx 10082/tcp
amidxtape 10083/tcp
#3. /etc/inetd.conf
amanda dgram udp wait amanda
/usr/local/libexec/amandad amandad
#4. netstat -a | grep -i amanda
*.amanda Idle
#5. /tmp/amanda only gets created if I run it manually as amanda user.
#6. ls -lu shows amandad is getting updated (Manually run of course )
# ls -lu /usr/local/libexec/amandad
-rwxr-xr-x 1 amanda operator 401408 Mar 15 06:47
/usr/local/libexec/amandad
#7. # su amanda -c "/usr/local/libexec/amandad amandad"
# more /tmp/amanda/am*.debug
amandad: debug 1 pid 1818 ruid 65576 euid 65576 start time Fri Mar 15
06:47:27 2002
/usr/local/libexec/amandad: version 2.4.3b2-20020308
/usr/local/libexec/amandad: build: VERSION="Amanda-2.4.3b2-20020308"
/usr/local/libexec/amandad: BUILT_DATE="Tue Mar 12 13:19:25 EST 2002"
/usr/local/libexec/amandad: BUILT_MACH="SunOS db-dev 5.8
Generic_108528-08 sun4u sparc SUNW,Ultra-4"
/usr/local/libexec/amandad: CC="/opt/SUNWspro/bin/cc"
/usr/local/libexec/amandad: CONFIGURE_COMMAND="'./configure'
'--with-user=amanda' '--with-group=operator' '--without-server'
'--with-tcpportrange=33300,33309' '--with-udpportrange=850,859'"
/usr/local/libexec/amandad: paths: bindir="/usr/local/bin"
sbindir="/usr/local/sbin"
/usr/local/libexec/amandad: libexecdir="/usr/local/libexec"
mandir="/usr/local/man"
/usr/local/libexec/amandad: AMANDA_TMPDIR="/tmp/amanda"
AMANDA_DBGDIR="/tmp/amanda"
/usr/local/libexec/amandad: CONFIG_DIR="/usr/local/etc/amanda"
DEV_PREFIX="/dev/dsk/"
/usr/local/libexec/amandad: RDEV_PREFIX="/dev/rdsk/"
DUMP="/usr/sbin/ufsdump"
/usr/local/libexec/amandad: RESTORE="/usr/sbin/ufsrestore"
GNUTAR="/usr/sbin/tar"
/usr/local/libexec/amandad: COMPRESS_PATH="/usr/bin/gzip"
/usr/local/libexec/amandad: UNCOMPRESS_PATH="/usr/bin/gzip"
MAILER="/usr/bin/mailx"
/usr/local/libexec/amandad:
listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
/usr/local/libexec/amandad: defs: DEFAULT_SERVER="db-dev"
DEFAULT_CONFIG="DailySet1"
/usr/local/libexec/amandad: DEFAULT_TAPE_SERVER="db-dev"
/usr/local/libexec/amandad: DEFAULT_TAPE_DEVICE="/dev/rmt/0bn"
HAVE_MMAP HAVE_SYSVSHM
/usr/local/libexec/amandad: LOCKING=POSIX_FCNTL SETPGRP_VOID
DEBUG_CODE
/usr/local/libexec/amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY
USE_AMANDAHOSTS
/usr/local/libexec/amandad: CLIENT_LOGIN="amanda" FORCE_USERID
HAVE_GZIP
/usr/local/libexec/amandad: COMPRESS_SUFFIX=".gz"
COMPRESS_FAST_OPT="--fast"
/usr/local/libexec/amandad: COMPRESS_BEST_OPT="--best"
UNCOMPRESS_OPT="-dc"
amandad: dgram_recv: timeout after 30 seconds
amandad: error receiving message: timeout
error receiving message: timeout
amandad: pid 1818 finish time Fri Mar 15 06:47:57 2002
>Also on my MP-RAS box I'm getting this error running selfcheck:
>
>ERROR: edaf6.irs.sat NAK: amandad busy
What version of Amanda?
Amanda-2.4.3b2-20020308
What's in the corresponding /tmp/amanda/amandad*debug file?
/tmp/amanda/amandad.20020315070227.debug:
# cd /tmp/amanda
# ls -al
total 12
drwx--l--- 2 amanda operator 512 Mar 15 07:02 .
drwxrwxrwt 4 sys sys 512 Mar 15 07:02 ..
-rw------- 1 amanda operator 2712 Mar 15 07:02
amandad.20020315070227.debug
-rw------- 1 amanda operator 812 Mar 15 07:02
selfcheck.20020315070228.debug
-rw------- 1 amanda operator 0 Mar 15 07:02
selfcheck._eec_var_inf__archive.20020315070228.exclude
# more amandad.20020315070227.debug
amandad: debug 1 pid 3087 ruid 22234 euid 22234 start time Fri Mar 15
07:02:27 2002
amandad: version 2.4.3b2-20020308
amandad: build: VERSION="Amanda-2.4.3b2-20020308"
amandad: BUILT_DATE="Wed Mar 13 14:27:03 EST 2002"
amandad: BUILT_MACH="UNIX_SV edaf6 4.0 3.0 3360,3430-R
Pentium(TM)-MCA "
amandad: CC="cc"
amandad: CONFIGURE_COMMAND="'./configure' '--with-user=amanda'
'--with-group=operator' '--without-server' '--without-restore'
'--with-gnutar=/usr/bin/tar'"
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"
amandad: VXDUMP="/usr/lib/fs/vxfs/vxdump"
amandad: VXRESTORE="/usr/lib/fs/vxfs/vxrestore"
amandad: GNUTAR="/usr/bin/tar" COMPRESS_PATH="/usr/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/mailx"
amandad: listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs: DEFAULT_SERVER="edaf6" DEFAULT_CONFIG="DailySet1"
amandad: DEFAULT_TAPE_SERVER="edaf6"
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"
got packet:
--------
Amanda 2.4 REQ HANDLE 004-004B0D08 SEQ 1016193888
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR /home/tp 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/msg/logs 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/data/test 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/var/inf_dumps 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/var/inf_archive 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gta
r;
GNUTAR /eec/var 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gta
r;
GNUTAR /eec 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
--------
sending ack:
----
Amanda 2.4 ACK HANDLE 004-004B0D08 SEQ 1016193888
----
bsd security: remote host relay.irs.sat user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/selfcheck"
amandad: got packet:
----
Amanda 2.4 REQ HANDLE 004-004B0D08 SEQ 1016193888
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR /home/tp 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/msg/logs 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/data/test 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/var/inf_dumps 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
GNUTAR /eec/var/inf_archive 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gta
r;
GNUTAR /eec/var 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gta
r;
GNUTAR /eec 0 OPTIONS
|;bsd-auth;srvcomp-fast;index;exclude-list=exclude.txt;
----
amandad: received dup P_REQ packet, ACKing it
sending ack:
----
Amanda 2.4 ACK HANDLE 004-004B0D08 SEQ 1016193888
----