My first guess would be that you don't have amandad in your inetd.conf on your backup server machine, or that service is not running for some other reason. amdump talks to the amandad even on localhost.
On Fri, 22 Mar 2002, Zhen Liu wrote: > Hi, Everyone: > > I am working on the amanda backup project now. I have some problem > with my amdump... HELP!!! > > The OS I am working on is Linux RH7.1, the tape changer we have is > Adic Fastor, Quantum 7000 tape drive. > > When enter "su amanda -c amdump daily", my dump for the localhost > /scsi9-data failed... I check the logs and debugs, it said "FAIL > planner localhost /scsi9-data 0 [Request to localhost timed out.] > FINISH planner date 20020322 > WARNING driver WARNING: got empty schedule from planner > STATS driver startup time 900.507 > INFO taper tape DailySet11 kb 0 fm 0 [OK] > FINISH driver date 20020322 time 910.087"...... > > So, anyone can help? > > Thanks a lot, > > Zhen Liu > > The following are my log and debug files...pls check it... > > > > > [root@apple log]# more log.20020322.0 > START planner date 20020322 > INFO planner Adding new disk localhost:/scsi9-data. > START driver date 20020322 > START taper datestamp 20020322 label DailySet11 tape 0 > FAIL planner localhost /scsi9-data 0 [Request to localhost timed out.] > FINISH planner date 20020322 > WARNING driver WARNING: got empty schedule from planner > STATS driver startup time 900.507 > INFO taper tape DailySet11 kb 0 fm 0 [OK] > FINISH driver date 20020322 time 910.087 > > From amanda Fri Mar 22 09:22:11 2002 > Return-Path: <[EMAIL PROTECTED]> > Received: (from amanda@localhost) > by apple.iusb.edu (8.11.2/8.11.2) id g2MEMBB28663 > for zliu; Fri, 22 Mar 2002 09:22:11 -0500 > Date: Fri, 22 Mar 2002 09:22:11 -0500 > From: Amanda user <[EMAIL PROTECTED]> > Message-Id: <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: DailyBackup AMANDA MAIL REPORT FOR March 22, 2002 > > These dumps were to tape DailySet11. > The next 2 tapes Amanda expects to used are: a new tape, a new tape. > > FAILURE AND STRANGE DUMP SUMMARY: > localhost /scsi9-data lev 0 FAILED [Request to localhost timed > out.] > > > STATISTICS: > Total Full Daily > -------- -------- -------- > Estimate Time (hrs:min) 0:15 > Run Time (hrs:min) 0:15 > Dump Time (hrs:min) 0:00 0:00 0:00 > Output Size (meg) 0.0 0.0 0.0 > Original Size (meg) 0.0 0.0 0.0 > Avg Compressed Size (%) -- -- -- > Filesystems Dumped 0 0 0 > Avg Dump Rate (k/s) -- -- -- > > Tape Time (hrs:min) 0:00 0:00 0:00 > Tape Size (meg) 0.0 0.0 0.0 > Tape Used (%) 0.0 0.0 0.0 > Filesystems Taped 0 0 0 > Avg Tp Write Rate (k/s) -- -- -- > > ^L > NOTES: > planner: Adding new disk localhost:/scsi9-data. > driver: WARNING: got empty schedule from planner > taper: tape DailySet11 kb 0 fm 0 [OK] > > ^L > DUMP SUMMARY: > DUMPER STATS TAPER > STATS > HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS > KB/s > -------------------------- --------------------------------- > ------------ > localhost /scsi9-data 0 FAILED > --------------------------------------- > > (brought to you by Amanda version 2.4.2p2) > > [root@apple amanda]# more selfcheck.20020322090544.debug > selfcheck: debug 1 pid 10739 ruid 33 euid 33 start time Fri Mar 22 > 09:05:44 2002 > /usr/lib/amanda/selfcheck: version 2.4.2p2 > selfcheck: checking disk /scsi9-data > selfcheck: device /scsi9-data > selfcheck: OK > selfcheck: pid 10739 finish time Fri Mar 22 09:05:44 2002 > > [root@apple amanda]# more runtar.20020322090701.debug > runtar: debug 1 pid 11626 ruid 33 euid 0 start time Fri Mar 22 > 09:07:01 2002 > /bin/tar: version 2.4.2p2 > running: /bin/tar: /bin/tar --create --file /dev/null --directory > /scsi9-data --one-file-system --listed-incremental > /var/lib/amanda/gnutar-li > sts/localhost_scsi9-data_0.new --sparse --ignore-failed-read --totals > --exclude-from /usr/lib/amanda/exclude.gtar . > > [root@apple amanda]# more amandad.20020322090701.debug > amandad: debug 1 pid 11580 ruid 33 euid 33 start time Fri Mar 22 > 09:07:01 2002 > amandad: version 2.4.2p2 > amandad: build: VERSION="Amanda-2.4.2p2" > amandad: BUILT_DATE="Thu Apr 5 09:18:00 EDT 2001" > amandad: BUILT_MACH="Linux porky.devel.redhat.com 2.2.17-8smp > #1 SMP Fri Nov 17 16:12:17 EST 2000 i686 unknown" > amandad: CC="gcc" > 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/" 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" > got packet: > -------- > Amanda 2.4 REQ HANDLE 000-C03A0608 SEQ 1016806021 > SECURITY USER amanda > SERVICE sendsize > OPTIONS maxdumps=1;hostname=localhost; > GNUTAR /scsi9-data 0 1970:1:1:0:0:0 -1 > exclude-list=/usr/lib/amanda/exclude.gtar > -------- > > sending ack: > ---- > Amanda 2.4 ACK HANDLE 000-C03A0608 SEQ 1016806021 > ---- > > bsd security: remote host localhost.localdomain user amanda local user > amanda > amandahosts security check passed > amandad: running service "/usr/lib/amanda/sendsize" > amandad: got packet: > ---- > Amanda 2.4 REQ HANDLE 000-C03A0608 SEQ 1016806021 > SECURITY USER amanda > SERVICE sendsize > OPTIONS maxdumps=1;hostname=localhost; > GNUTAR /scsi9-data 0 1970:1:1:0:0:0 -1 > exclude-list=/usr/lib/amanda/exclude.gtar > ---- > > amandad: received dup P_REQ packet, ACKing it > sending ack: > ---- > Amanda 2.4 ACK HANDLE 000-C03A0608 SEQ 1016806021 > ---- > > amandad: got packet: > ---- > Amanda 2.4 REQ HANDLE 000-C03A0608 SEQ 1016806021 > SECURITY USER amanda > SERVICE sendsize > OPTIONS maxdumps=1;hostname=localhost; > GNUTAR /scsi9-data 0 1970:1:1:0:0:0 -1 > exclude-list=/usr/lib/amanda/exclude.gtar > ---- > > amandad: received dup P_REQ packet, ACKing it > sending ack: > ---- > Amanda 2.4 ACK HANDLE 000-C03A0608 SEQ 1016806021 > ---- > > amandad: sending REP packet: > ---- > Amanda 2.4 REP HANDLE 000-C03A0608 SEQ 1016806021 > OPTIONS maxdumps=1; > /scsi9-data 0 SIZE 34820730 > ---- > > amandad: dgram_recv: timeout after 10 seconds > amandad: waiting for ack: timeout, retrying > amandad: dgram_recv: timeout after 10 seconds > amandad: waiting for ack: timeout, retrying > amandad: dgram_recv: timeout after 10 seconds > amandad: waiting for ack: timeout, retrying > amandad: dgram_recv: timeout after 10 seconds > amandad: waiting for ack: timeout, retrying > amandad: dgram_recv: timeout after 10 seconds > amandad: waiting for ack: timeout, giving up! > amandad: pid 11580 finish time Fri Mar 22 10:29:09 2002 > > > Zhen Liu > Via Webmail > [EMAIL PROTECTED] > -- ----- Marc Mengel <[EMAIL PROTECTED]>
