I had the same problem that you are having,
I forgot one line in amanda.conf, session dumptype
I always do full backups, so my dumptype is like this
define dumptype always full {
global
program "GNUTAR"
comment "full dump of this file system always"
compress none
priority high
dumpcicle 0
index yes
}
don�t forget to put index yes on your dumptype :-)
I hope I helped you
Eduardo Ceva
----- Original Message -----
From: "jiang lei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 09, 2002 5:32 AM
Subject: Help! index server does not work
> Hi all,
>
> Can anybody give me some help on index server?
> I installed amanda on a Solaris 8 x86 server and it's driving me nuts.
> Both amcheck and amdump are running fine. However, no index file is
> written.
> I simply uncommented the "#" before default "indexdir". The first time I
> run amcheck, it complained that the dir did not exist. So I created it
> manually. But still no file is written.
> The index server appeared to be running as well.
>
> bash-2.03# netstat -avn|grep 1008
> *.10080 Idle
> *.10082
> *.10083
>
> I really don't know what else I can do, Help!
>
> Tristone
>
>
****************************************************************************
> *******
> amcheck result:
>
> bash-2.03$ amcheck DailySet1
> Amanda Tape Server Host Check
> -----------------------------
> Holding disk /var/tmp/amanda: 1180868 KB disk space available, that's
plenty
> amcheck-server: slot 3: date 20021009 label DUMP01 (exact label match)
> NOTE: skipping tape-writable test
> Tape DUMP01 label ok
> Server check took 15.092 seconds
>
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 1 host checked in 0.046 seconds, 0 problems found
>
> =========================================================================
> amdump result:
>
> DUMP SUMMARY:
> DUMPER STATS TAPER STATS
> HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s
> -------------------------- --------------------------------- ------------
> sun /home/cvs 1 160 160 -- 0:00 760.0 0:08 24.9
>
> (brought to you by Amanda version 2.4.2p2)
>
> amandad debug file:
>
> amandad: debug 1 pid 22684 ruid 106 euid 106 start time Wed Oct 9
16:29:16
> 2002
> amandad: version 2.4.2p2
> amandad: build: VERSION="Amanda-2.4.2p2"
> amandad: BUILT_DATE="Wed Oct 9 16:22:22 JST 2002"
> amandad: BUILT_MACH="SunOS sun 5.8 Generic_108529-15 i86pc i386
> i86pc"
> amandad: CC="gcc"
> 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/bin/gnutar"
> amandad: 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="sun" DEFAULT_CONFIG="DailySet1"
> amandad: DEFAULT_TAPE_SERVER="sun"
> amandad: debug 1 pid 22684 ruid 106 euid 106 start time Wed Oct 9
16:29:16
> 2002
> amandad: version 2.4.2p2
> amandad: build: VERSION="Amanda-2.4.2p2"
> amandad: BUILT_DATE="Wed Oct 9 16:22:22 JST 2002"
> amandad: BUILT_MACH="SunOS sun 5.8 Generic_108529-15 i86pc i386
> i86pc"
> amandad: CC="gcc"
> 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/bin/gnutar"
> amandad: 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="sun" DEFAULT_CONFIG="DailySet1"
> amandad: DEFAULT_TAPE_SERVER="sun"
> amandad: DEFAULT_TAPE_DEVICE="/dev/rmt/0bn" 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 000-F8AC0608 SEQ 1034148555
> SECURITY USER amanda
> SERVICE sendbackup
> OPTIONS hostname=sun;
> GNUTAR /home/cvs 1 2002:10:9:7:1:50 OPTIONS |;bsd-auth;
> --------
>
> sending ack:
> ----
> Amanda 2.4 ACK HANDLE 000-F8AC0608 SEQ 1034148555
> ----
>
> bsd security: remote host sun user amanda local user amanda
> amandahosts security check passed
> amandad: running service "/usr/local/libexec/sendbackup"
> amandad: sending REP packet:
> ----
> Amanda 2.4 REP HANDLE 000-F8AC0608 SEQ 1034148555
> CONNECT DATA 43910 MESG 43911 INDEX -1
> OPTIONS ;bsd-auth;
> ----
>
> amandad: got packet:
> ----
> Amanda 2.4 ACK HANDLE 000-F8AC0608 SEQ 1034148555
> ----
>
> amandad: pid 22684 finish time Wed Oct 9 16:29:16 2002
>
> =========================================================================
>
>
> amindexd debug file:
>
> amindexd: version 2.4.2p2
> < 220 sun AMANDA index server (2.4.2p2) ready.
> > SECURITY USER root
> bsd security: remote host sun user root local user amanda
> amandahosts security check passed
> < 200 Access OK
> > DATE 2002-10-09
> < 200 Working date set to 2002-10-09.
> > SCNF DailySet1
> < 200 Config set to DailySet1.
> > HOST sun
> < 501 No index records for host: sun. Invalid?
> > HOST sun
> < 501 No index records for host: sun. Invalid?
> > HOST loghost
> < 501 No index records for host: loghost. Invalid?
> > QUIT
> < 200 Good bye.
> amindexd: pid 22710 finish time Wed Oct 9 16:31:30 2002
>
>
> =========================================================================
>
>
> amtrmidx debug file:
>
> amtrmidx: debug 1 pid 22702 ruid 106 euid 106 start time Wed Oct 9
16:29:27
> 2002
> /usr/local/libexec/amtrmidx: version 2.4.2p2
> Keeping 2 index files
> amtrmidx: pid 22702 finish time Wed Oct 9 16:29:27 2002