I installed advfs.diff on the client (wookie) and reran the test dump
but the sendsize*dump file still says:

******************************************************************************
sendsize: debug 1 pid 8615 ruid 33 euid 33 start time Thu Jan 24 17:13:43 2002
/usr/local/libexec/sendsize: version 2.4.2p2
calculating for amname '/boot', dirname '/boot'
sendsize: getting size via dump for /boot level 0
sendsize: running "/sbin/dump 0Ssf 1048576 - /dev/sda2"
running /usr/local/libexec/killpgrp
  DUMP: Warning: unable to translate LABEL=/
  DUMP: Warning: unable to translate LABEL=/boot
/dev/sda2: Permission denied while opening filesystem
.....
(no size line match in above dump output)
.....
asking killpgrp to terminate
sendsize: pid 8615 finish time Thu Jan 24 17:13:44 2002
******************************************************************************

amandad*debug says:
******************************************************************************
amandad: debug 1 pid 8614 ruid 33 euid 33 start time Thu Jan 24 17:13:43 2002
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
amandad:        BUILT_DATE="Thu Jan 24 16:50:09 MST 2002"
amandad:        BUILT_MACH="Linux wookie.americom.com 2.2.16-22enterprise #1 SMP Tue 
Aug 22 16:29:32 EDT 2000 i686 unknown"
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/"
amandad:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/gtar" COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="wookie.americom.com"
amandad:        DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="wookie.americom.com"
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-20720708 SEQ 1011917624
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=wookie.internal.americom.com;
DUMP /boot 0 1970:1:1:0:0:0 -1
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 000-20720708 SEQ 1011917624
----

bsd security: remote host gorn.americom.com user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/sendsize"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-20720708 SEQ 1011917624
OPTIONS maxdumps=1;
/boot 0 SIZE -1
----

amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-20720708 SEQ 1011917624
----

amandad: pid 8614 finish time Thu Jan 24 17:13:44 2002
******************************************************************************
killpgrp*debug says:
******************************************************************************
killpgrp: debug 1 pid 8616 ruid 33 euid 0 start time Thu Jan 24 17:13:43 2002
/usr/local/libexec/killpgrp: version 2.4.2p2
sending SIGTERM to process group 8616
child process exited with status 1
******************************************************************************

The amcheck program succeeds.

Is there anything I can run on the client to indicate why it is failing?

Thanks,
Dick

> > > I am getting the following error from amdump:
> > > 
> > > FAILURE AND STRANGE DUMP SUMMARY:
> > > wookie.int /boot lev 0 FAILED [disk /boot offline on 
>wookie.internal.americom.com?]
> > > 
> > > On wookie, the file sendsize.20020124035422.debug says:
> > > 
> > > running /usr/local/libexec/killpgrp
> > >   DUMP: Warning: unable to translate LABEL=/
> > >   DUMP: Warning: unable to translate LABEL=/boot
> > > /dev/sda2: Permission denied while opening filesystem
> > > .....
> > 
> > I see two problems above.  First, you need to apply the advfs patch from 
> > the patches page at amanda.org -- it fixes the 'unable to translate LABEL' 
> > errors above.
> 
> Will do.
> 
> > Second, dump isn't being run with the proper permissions.  
> > What group is the amanda user in?
> 
> >From /etc/group:
> 
> disk:x:6:root,rwk,amanda
> 
> > And what does 'ls -l /dev/sda2' say?
> 
> brw-rw----    1 root     disk       8,   2 Aug 24  2000 /dev/sda2
> 
> Also, amcheck *does* run successfully.
> 
> Please advise and thank you for your help!
> 
> Dick
> 
> > > However, when I run dump manually on wookie, it runs with no problem
> > > and:
> > > 
> > 
> > Running dump as which user?  If the amanda user, then what does your 
> > /etc/xinetd entry for amanda look like?
> > 
> > -- 
> > Joshua Baker-LePain
> > Department of Biomedical Engineering
> > Duke University
> > 
> 

Reply via email to