Dear Amanda-Users,

I have been scouring the list archives and google for an answer to this
problem, but can't seem to figure it out.  I have a few clients that are
having a problem in the nightly backup.  

Last week I started fresh and installed the client from sources, brand new,
on to a workstation named 'barry'.  This workstation is a Sun Sparc 5
running Solaris 2.5.1 (old, I know).  The client was configured using
the following command:

./configure --with-user=root --with-group=bin --without-server

This ran with no problem, as did the 'make' and 'make install'.  I
believe the entry in the /etc/inetd.conf' file is correct:

amanda dgram  udp  wait  root  /usr/local/libexec/amandad  amandad

Everything is reportedly looking good when I run amcheck.  I tried to
run a non-indexed test backup with only barry in the disklist, but it
failed.  Here's what the report said:

FAILURE AND STRANGE DUMP SUMMARY:
  barry  /export/home lev 0 FAILED [disk /export/home offline on barry?]

The *.debug files in /tmp/amanda seem fine, except for sendsize*.debug. 
It has a negative number for the "Total bytes written" and then says
there was no size line.

In case one were to wonder, the version of barry's /usr/local/bin/gnutar is:
tar (GNU tar) 1.13.19

This seems like it is a fairly simple problem, but I can't seem to find
the answer.  I've attached the *.debug logs below.

All help is greatly appreciated!

Jeff Smith
[EMAIL PROTECTED]


----------------------------
sendsize*.debug
----------------------------
sendsize: debug 1 pid 1267 ruid 0 euid 0 start time Thu Feb 21 12:20:10
2002
/usr/local/libexec/sendsize: version 2.4.2p2
calculating for amname '/export/home', dirname '/export/home'
sendsize: getting size via gnutar for /export/home level 0
sendsize: missing exclude list file "/export/home/.amanda.excludes"
discarded
sendsize: spawning /usr/local/libexec/runtar in pipeline
sendsize: argument list: /usr/local/bin/gnutar --create --file /dev/null
--directory /export/home --one-file-system --listed-incremental
/usr/local/var/amanda/gnutar-lists/barry_export_home_0.new --sparse
--ignore-failed-read --totals .
Total bytes written: -2079072256
.....
(no size line match in above gnutar output)
.....
sendsize: pid 1267 finish time Thu Feb 21 12:37:42 2002


----------------------------
amandad*.debug
----------------------------
amandad: debug 1 pid 1266 ruid 0 euid 0 start time Thu Feb 21 12:20:10
2002
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
amandad:        BUILT_DATE="Thu Feb 21 10:16:05 PST 2002"
amandad:        BUILT_MACH="SunOS barry 5.5.1 Generic sun4m sparc
SUNW,SPARCstation-5"
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"
amandad:        GNUTAR="/usr/local/bin/gnutar" COMPRESS_PATH="/bin/gzip"
amandad:        UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/ucb/Mail"
amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="barry" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="barry"
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="root" 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-80B00708 SEQ 1014322585
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=barry;
GNUTAR /export/home 0 1970:1:1:0:0:0 -1 exclude-list=.amanda.excludes
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 000-80B00708 SEQ 1014322585
----

bsd security: remote host garfield user amanda local user root
amandahosts security check passed
amandad: running service "/usr/local/libexec/sendsize"
amandad: got packet:
----
Amanda 2.4 REQ HANDLE 000-80B00708 SEQ 1014322585
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=barry;
GNUTAR /export/home 0 1970:1:1:0:0:0 -1 exclude-list=.amanda.excludes
----

amandad: received dup P_REQ packet, ACKing it
sending ack:
----
Amanda 2.4 ACK HANDLE 000-80B00708 SEQ 1014322585
----

amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-80B00708 SEQ 1014322585
OPTIONS maxdumps=1;
/export/home 0 SIZE -1
----

amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-80B00708 SEQ 1014322585
----

amandad: pid 1266 finish time Thu Feb 21 12:37:43 2002


----------------------------
runtar*.debug
----------------------------
runtar: debug 1 pid 1268 ruid 0 euid 0 start time Thu Feb 21 12:20:10
2002
/usr/local/bin/gnutar: version 2.4.2p2
running: /usr/local/bin/gnutar: /usr/local/bin/gnutar --create --file
/dev/null
--directory /export/home --one-file-system --listed-incremental
/usr/local/var/amanda/gnutar-lists/barry_export_home_0.new --sparse
--ignore-failed-read --totals .


Reply via email to