Hi Jean-Louis, Version is Amanda 2.4.3 running on 2.4.19-r6 Gentoo linux, ppc. (there's no Amanda ebuild script available for Gentoo, btw, if anyone more capable than I is interested in hacking one up:o))
To be more descriptive, these errors appear after I initiate a dump then call amstatus...amstatus shows the errors at the top of the page, then the normal array of info about the dump. Nothing actually dumps, though, and the tape machine just winds away into oblivion...never finding whatever destination/fm it seeks. Attached please find the amdump file requested. IP's, hostname, and paths have been xxx'd or altered to protect the innocent. Thanks!! From: Jean-Louis Martineau <[EMAIL PROTECTED]> Date: Fri Dec 20, 2002 9:02:58 AM America/Los_Angeles To: <[EMAIL PROTECTED]> Subject: Re: uninitialized value in printf Hello WR, Which release of amanda are you using? Could you send me your amdump.?? file which cause this problem. Jean-Louis On Thu, Dec 19, 2002 at 07:40:32PM -0800, WR wrote: Hello all I'm happy to report that amanda is working on the systems here, almost perfectly! There is one issue I have not been able to solve. If I back up internal drive directories (boot drives), everything works perfectly, local and network. When I try to back up the contents of drives attached to ide-pci cards (using promise cards), I get this error, on any machine in the system (tested on 3 seperate units): Use of uninitialized value in printf at /target/dir/amstatus line 760 Use of uninitialized value in numeric ne (!=) at /target/dir/amstatus line 761 Use of uninitialized value in addition (+) at /target/dir/amstatus line 770 Thanks to the maintainers of Amanda, it's an excellent package! Also thanks for any help. WR -- Jean-Louis Martineau email: [EMAIL PROTECTED] Departement IRO, Universite de Montreal C.P. 6128, Succ. CENTRE-VILLE Tel: (514) 343-6111 ext. 3529 Montreal, Canada, H3C 3J7 Fax: (514) 343-5834
amdump: start at Tue Dec 17 01:35:36 PST 2002 amdump: datestamp 20021217 planner: pid 1295 executable /usr/local/libexec/planner version 2.4.3 planner: build: VERSION="Amanda-2.4.3" planner: BUILT_DATE="Thu Dec 12 13:28:57 PST 2002" planner: BUILT_MACH="Linux xxx.xxx.web 2.4.19-r6 #1 Mon Dec 9 21:43:10 PST 2002 ppc unknown" planner: CC="gcc" planner: CONFIGURE_COMMAND="'./configure' '--with-user=amanda' '--with-group=amanda' '--with-configdir=/etc/amanda' '--with-config=daily' '--with-gnutar=/bin/tar' '--with-tape-device=/dev/nst0' '--with-amandahosts'" planner: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin" planner: libexecdir="/usr/local/libexec" mandir="/usr/local/man" planner: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda" planner: CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/" planner: RDEV_PREFIX="/dev/" DUMP="/usr/sbin/dump" planner: RESTORE="/usr/sbin/restore" planner: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar" planner: COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip" planner: MAILER="/usr/bin/mail" planner: listed_incr_dir="/usr/local/var/amanda/gnutar-lists" planner: defs: DEFAULT_SERVER="xxx.xxx.web" DEFAULT_CONFIG="daily" planner: DEFAULT_TAPE_SERVER="emu-b.cyborg.web" planner: DEFAULT_TAPE_DEVICE="/dev/nst0" HAVE_MMAP HAVE_SYSVSHM planner: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE planner: AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS planner: CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP planner: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast" planner: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc" planner: time 0.001: dgram_bind: socket bound to 0.0.0.0.759 READING CONF FILES... driver: pid 1296 executable /usr/local/libexec/driver version 2.4.3 driver: send-cmd time 0.031 to taper: START-TAPER 20021217 planner: time 0.045: startup took 0.045 secs SETTING UP FOR ESTIMATES... planner: time 0.045: setting up estimates for xxxx:/xxxx/xxx xxxx:/xxxx/xxx overdue 12038 days for level 0 setup_estimate: xxxx:/xxxx/xxx: command 0, options: last_level -1 next_level0 -12038 level_days 0 getting estimates 0 (0) -1 (-1) -1 (-1) planner: time 0.046: setting up estimates took 0.000 secs GETTING ESTIMATES... driver: started dumper0 pid 1298 taper: pid 1297 executable taper version 2.4.3 taper: page size is 4096 taper: buffer size is 32768 taper: buffer[00] at 0x30027000 taper: buffer[01] at 0x3002f000 taper: buffer[02] at 0x30037000 taper: buffer[03] at 0x3003f000 taper: buffer[04] at 0x30047000 taper: buffer[05] at 0x3004f000 taper: buffer[06] at 0x30057000 taper: buffer[07] at 0x3005f000 taper: buffer[08] at 0x30067000 taper: buffer[09] at 0x3006f000 taper: buffer[10] at 0x30077000 taper: buffer[11] at 0x3007f000 taper: buffer[12] at 0x30087000 taper: buffer[13] at 0x3008f000 taper: buffer[14] at 0x30097000 taper: buffer[15] at 0x3009f000 taper: buffer[16] at 0x300a7000 taper: buffer[17] at 0x300af000 taper: buffer[18] at 0x300b7000 taper: buffer[19] at 0x300bf000 taper: buffer structures at 0x300c7000 for 240 bytes dumper: dgram_bind: socket bound to 0.0.0.0.762 dumper: pid 1298 executable dumper0 version 2.4.3, using port 762 taper: read label `xxxxBU001' date `20021212' taper: wrote label `xxxxBU001' date `20021217' planner: time 16.833: got result for host xxxx disk /xxxx/xxx: 0 -> 1958080K, -1 -> -1K, -1 -> -1K planner: time 16.833: getting estimates took 16.787 secs FAILED QUEUE: empty DONE QUEUE: 0: xxxx /xxxx/xxx ANALYZING ESTIMATES... pondering xxxx:/xxxx/xxx... next_level0 -12038 last_level -1 (due for level 0) (new disk, can't switch to degraded mode) curr level 0 size 1958080 total size 1958254 total_lev0 1958080 balanced-lev0size 1958080 INITIAL SCHEDULE (size 1958254): xxxx /xxxx/xxx pri 12038 lev 0 size 1958080 DELAYING DUMPS IF NEEDED, total_size 1958254, tape length 8742912 mark 26 delay: Total size now 1958254. PROMOTING DUMPS IF NEEDED, total_lev0 1958080, balanced_size 1958080... planner: time 16.834: analysis took 0.000 secs GENERATING SCHEDULE: -------- ENDFLUSH DUMP xxxx fffffeff9f00 /xxxx/xxx 20021217 12038 0 1970:1:1:0:0:0 1958080 65269 -------- driver: adding holding disk 0 dir /zzzz size 166944 reserving 166944 out of 166944 for degraded-mode dumps driver: start time 16.859 inparallel 1 bandwidth 2300 diskspace 166944 dir OBSOLETE datestamp 20021217 driver: drain-ends tapeq LFFO big-dumpers BTBTBTBTBTBT driver: result time 16.859 from taper: TAPER-OK driver: dumping xxxx:/xxxx/xxx directly to tape driver: send-cmd time 16.860 to taper: PORT-WRITE 00-00001 xxxx fffffeff9f00 /xxxx/xxx 0 20021217 taper: try_socksize: receive buffer size is 65536 taper: stream_server: waiting for connection: 0.0.0.0.32768 driver: result time 16.861 from taper: PORT 32768 driver: send-cmd time 16.861 to dumper0: PORT-DUMP 01-00002 32768 xxxx fffffeff9f00 /xxxx/xxx NODEVICE 0 1970:1:1:0:0:0 GNUTAR |;auth=bsd;index; driver: state time 16.861 free kps: 2270 space: 166944 taper: writing idle-dumpers: 0 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 86400 driver-idle: not-idle driver: interface-state time 16.861 if : free 970 if LOCAL: free 1300 driver: hdisk-state time 16.861 hdisk 0: free 166944 dumpers 0 dumper: stream_client: connected to 127.0.0.1.32768 dumper: stream_client: our side is 0.0.0.0.32769 dumper: try_socksize: send buffer size is 65536 taper: stream_accept: connection from 127.0.0.1.32769 taper: try_socksize: receive buffer size is 32768 dumper: stream_client: connected to 192.168.1.140.36445 dumper: stream_client: our side is 0.0.0.0.32770 dumper: stream_client: connected to 192.168.1.140.44406 dumper: stream_client: our side is 0.0.0.0.32771 dumper: stream_client: connected to 192.168.1.140.40087 dumper: stream_client: our side is 0.0.0.0.32772 taper: writing end marker. [xxxxBU001 ERR kb 742816 fm 1]