On Monday 20 February 2006 17:17, Drew Derbyshire wrote:
>I've run amanda for years on various FreeBSD machines. I THINK in
> days of old I also backed up at least one Redhat 8 client system, but
> the system retired a while back so I have no data and little memory.
>
>I'm now trying to add a Fedora 4 client, with poor results. amcheck
>runs fine, but the infamous estimate failed keeps happening when I
>actually try to run. It's not a timeout (total execution is only 30
>seconds), and sendsize seems to be actively failing. I'm not sure
> what to make of it. In particular:
>
> * "/sbin/dump 0Ssf 1048576 - /dev/sda1" works fine as the amanda
> user run from the command line.
> * GNU dump output hasn't changed much in years
> * /etc/dumpdates is world readable and group writable.
>
>Suggestions?
>
>sendsize: debug 1 pid 22313 ruid 33 euid 33: start at Mon Feb 20
> 13:17:20 2006 sendsize: version 2.4.5
>sendsize[22315]: time 0.012: calculating for amname '/dev/sda1',
> dirname '/boot', spindle 1 sendsize[22315]: time 0.012: getting size
> via dump for /dev/sda1 level 0 sendsize[22315]: time 0.015:
> calculating for device '/dev/sda1' with 'ext3' sendsize[22315]: time
> 0.016: running "/sbin/dump 0Ssf 1048576 - /dev/sda1" sendsize[22315]:
> time 0.029: running /usr/lib/amanda/killpgrp sendsize[22313]: time
> 0.037: waiting for any estimate child: 1 running sendsize[22315]:
> time 0.045: DUMP: cannot read /etc/dumpdates: Permission denied
> sendsize[22315]: time 0.047: DUMP: The ENTIRE dump is aborted.
Here is the error, 2 lines up. Did you not follow the instructions on
building and installing amanda? This is the most common cause of such
problems I believe. You must build amand as the user who's going to be
running amanda, but then become root to do the actual install.
> sendsize[22315]: time 0.049: .....
>sendsize[22315]: estimate time for /dev/sda1 level 0: 0.032
>sendsize[22315]: no size line match in /sbin/dump output for
> "/dev/sda1" sendsize[22315]: .....
>sendsize[22315]: estimate size for /dev/sda1 level 0: -1 KB
>sendsize[22315]: time 0.049: asking killpgrp to terminate
>sendsize[22315]: time 1.053: done with amname '/dev/sda1', dirname
> '/boot', spindle 1 sendsize[22313]: time 1.054: child 22315
> terminated normally
>sendsize[22318]: time 1.055: calculating for amname '/dev/sda5',
> dirname '/', spindle 1 sendsize[22318]: time 1.055: getting size via
> dump for /dev/sda5 level 0 sendsize[22318]: time 1.057: calculating
> for device '/dev/sda5' with 'ext3' sendsize[22318]: time 1.057:
> running "/sbin/dump 0Ssf 1048576 - /dev/sda5" sendsize[22318]: time
> 1.065: running /usr/lib/amanda/killpgrp sendsize[22313]: time 1.073:
> waiting for any estimate child: 1 running sendsize[22318]: time
> 1.087: DUMP: cannot read /etc/dumpdates: Permission denied
> sendsize[22318]: time 1.088: DUMP: The ENTIRE dump is aborted.
And again here, same error.
> sendsize[22318]: time 1.090: .....
>sendsize[22318]: estimate time for /dev/sda5 level 0: 0.033
>sendsize[22318]: no size line match in /sbin/dump output for
> "/dev/sda5" sendsize[22318]: .....
>sendsize[22318]: estimate size for /dev/sda5 level 0: -1 KB
>sendsize[22318]: time 1.091: asking killpgrp to terminate
>sendsize[22318]: time 2.093: done with amname '/dev/sda5', dirname
> '/', spindle 1 sendsize[22313]: time 2.094: child 22318 terminated
> normally
>sendsize[22321]: time 2.095: calculating for amname '/dev/sdb2',
> dirname '/export', spindle 2 sendsize[22321]: time 2.096: getting
> size via dump for /dev/sdb2 level 0 sendsize[22321]: time 2.098:
> calculating for device '/dev/sdb2' with 'ext3' sendsize[22321]: time
> 2.099: running "/sbin/dump 0Ssf 1048576 - /dev/sdb2" sendsize[22321]:
> time 2.105: running /usr/lib/amanda/killpgrp sendsize[22313]: time
> 2.108: waiting for any estimate child: 1 running sendsize[22321]:
> time 2.129: DUMP: cannot read /etc/dumpdates: Permission denied
> sendsize[22321]: time 2.131: DUMP: The ENTIRE dump is aborted.
Again...
> sendsize[22321]: time 2.133: .....
>sendsize[22321]: estimate time for /dev/sdb2 level 0: 0.034
>sendsize[22321]: no size line match in /sbin/dump output for
> "/dev/sdb2" sendsize[22321]: .....
>sendsize[22321]: estimate size for /dev/sdb2 level 0: -1 KB
>sendsize[22321]: time 2.134: asking killpgrp to terminate
>sendsize[22321]: time 3.137: done with amname '/dev/sdb2', dirname
> '/export', spindle 2 sendsize[22313]: time 3.138: child 22321
> terminated normally
>sendsize[22324]: time 3.139: calculating for amname '/dev/sda2',
> dirname '/var', spindle 1 sendsize[22324]: time 3.140: getting size
> via dump for /dev/sda2 level 0 sendsize[22324]: time 3.143:
> calculating for device '/dev/sda2' with 'ext3' sendsize[22324]: time
> 3.143: running "/sbin/dump 0Ssf 1048576 - /dev/sda2" sendsize[22313]:
> time 3.144: waiting for any estimate child: 1 running
> sendsize[22324]: time 3.148: running /usr/lib/amanda/killpgrp
> sendsize[22324]: time 3.172: DUMP: cannot read /etc/dumpdates:
> Permission denied sendsize[22324]: time 3.174: DUMP: The ENTIRE
> dump is aborted. sendsize[22324]: time 3.175: .....
Ditto.
>sendsize[22324]: estimate time for /dev/sda2 level 0: 0.032
>sendsize[22324]: no size line match in /sbin/dump output for
> "/dev/sda2" sendsize[22324]: .....
>sendsize[22324]: estimate size for /dev/sda2 level 0: -1 KB
>sendsize[22324]: time 3.176: asking killpgrp to terminate
>sendsize[22324]: time 4.176: done with amname '/dev/sda2', dirname
> '/var', spindle 1 sendsize[22313]: time 4.178: child 22324 terminated
> normally
>sendsize: time 4.178: pid 22313 finish time Mon Feb 20 13:17:25 2006
--
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules. I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
|