Hi, Thanks,
After I tried the patch, The error now becomes "data timeout",
If you need more info, Please let me know.
errors are:
localhost /srv.data/ lev 0 FAILED [data timeout]
localhost /srv.data/ lev 0 FAILED [Error accepting incoming
connection: Connection timed out; Got empty header]
localhost /srv.data/ lev 0 FAILED [data timeout]
localhost /srv.data/ lev 0 FAILED [Error accepting incoming
connection: Connection timed out; Got empty header]
The attachment is the chunker log.
Since with timeout error, It takes a while to test. I miss pressed the
send button for the previous email.
Sorry for the noise.
Thanks
On 2017/3/9 22:00, Jean-Louis Martineau wrote:
Yiyi,
Try the attached patch
Jean-Louis
On 09/03/17 04:27 AM, Yiyi Hu wrote:
> Hi,
>
> After I upgraded to3.4.3 on my gentoo system,
>
> I get errors when I try to do the backup.
>
> The errors are
>
> FAILURE DUMP SUMMARY:
> chunker: FATAL Can't use an undefined value as a subroutine
> reference at
> /usr/lib64/perl5/vendor_perl/5.22.3/Amanda/Chunker/Scribe.pm line 580.
> chunker: FATAL Can't use an undefined value as a subroutine
> reference at
> /usr/lib64/perl5/vendor_perl/5.22.3/Amanda/Chunker/Scribe.pm line 580.
> localhost /srv/online_disk lev 0 FAILED [too many dumper retry:
> [request failed: error sending REQ: write error to: Broken pipe]]
> localhost /srv.data/ lev 0 FAILED [chunker0 died]
> localhost /srv/online_disk lev 0 FAILED [data timeout]
> localhost /srv.data/ lev 0 FAILED [data timeout]
> localhost /srv.data/ lev 0 FAILED [data timeout]
>
> And when I check the lines in Scribe.pm
>
> It seems the dump_cb is not passed in the _sump_done sub
>
> sub _dump_done {
> my $self = shift;
>
> my $dump_cb = $self->{'dump_cb'};
> my %dump_cb_args = (
> result => $self->{'result'},
> header_size => $self->{'header_size'},
> data_size => $self->{'data_size'},
> total_duration => $self->{'total_duration'});
>
> # reset everything and let the original caller know we're done
> $self->{'xfer'} = undef;
> $self->{'xdh'} = undef;
> $self->{'dump_header'} = undef;
> $self->{'dump_cb'} = undef;
> $self->{'header_size'} = 0;
> $self->{'data_size'} = 0;
> $self->{'total_duration'} = 0.0;
> $self->{'dump_start_time'} = undef;
>
> # and call the callback
> $dump_cb->(%dump_cb_args);
> }
>
>
> Any ideas how to solve this?
>
> Is it possible that the dump failure is caused by bind mount?
>
> Thanks!
>
*Disclaimer*
This message is the property of *CARBONITE, INC.*
<http://www.carbonite.com> and may contain confidential or privileged
information.
If this message has been delivered to you by mistake, then do not copy
or deliver this message to anyone. Instead, destroy it and notify me
by reply e-mail.
Fri Mar 10 11:37:54.171329046 2017: pid 13789: thd-0xf21e00: chunker: pid 13789
ruid 87 euid 87 version 3.4.3: start at Fri Mar 10 11:37:54 2017
Fri Mar 10 11:37:54.171553858 2017: pid 13789: thd-0xf21e00: chunker:
Arguments: sky-daily --log-filename
/amanda/sky-daily/state/log/log.20170310110741.0
Fri Mar 10 11:37:54.172631942 2017: pid 13789: thd-0xf21e00: chunker: reading
config file /etc/amanda/sky-daily/amanda.conf
Fri Mar 10 11:37:54.177971264 2017: pid 13789: thd-0xf21e00: chunker: pid 13789
ruid 87 euid 87 version 3.4.3: rename at Fri Mar 10 11:37:54 2017
Fri Mar 10 11:37:54.181695415 2017: pid 13789: thd-0xf21e00: chunker:
Amanda::Chunker::Scribe preparing to write, max_memory 1048576
Fri Mar 10 11:37:54.182194826 2017: pid 13789: thd-0xf21e00: chunker: Starting
<Xfer@0x1a02fa0 (<XferSourceDirectTCPListen@0x1a04010> ->
<XferDestHolding@0x1a03000>)>
Fri Mar 10 11:37:54.182270026 2017: pid 13789: thd-0xf21e00: chunker: Final
linkage: <XferSourceDirectTCPListen@0x1a04010> -(DIRECTTCP_LISTEN)->
<XferElementGlue@0x1a03130> -(MEM_RING)-> <XferDestHolding@0x1a03000>
Fri Mar 10 11:37:54.182299576 2017: pid 13789: thd-0xf21e00: chunker:
setup_impl: 7, 9
Fri Mar 10 11:37:54.183538047 2017: pid 13789: thd-0xf21e00: chunker: Starting
<Xfer@0x19fe490 (<XferSourceDirectTCPListen@0x1a040c0> ->
<XferDestBuffer@0x1a1a000>)>
Fri Mar 10 11:37:54.183613447 2017: pid 13789: thd-0xf21e00: chunker: Final
linkage: <XferSourceDirectTCPListen@0x1a040c0> -(DIRECTTCP_LISTEN)->
<XferElementGlue@0x1a03260> -(PUSH_BUFFER_STATIC)-> <XferDestBuffer@0x1a1a000>
Fri Mar 10 11:37:54.183637772 2017: pid 13789: thd-0xf21e00: chunker:
setup_impl: 7, 6
Fri Mar 10 11:37:54.186584326 2017: pid 13789: thd-0x1a144a0: chunker:
do_directtcp_accept: 6
Fri Mar 10 11:37:54.186681250 2017: pid 13789: thd-0x1a144a0: chunker:
read_and_push_static
Fri Mar 10 12:07:55.731597838 2017: pid 13789: thd-0x1a14450: chunker:
xfer_cancel_with_error: Error accepting incoming connection: Connection timed
out
Fri Mar 10 12:07:55.731731175 2017: pid 13789: thd-0x1a14450: chunker:
xfer_queue_message: MSG: <XMsg@0x7f8124001500 type=XMSG_ERROR
elt=<XferElementGlue@0x1a03130> version=0>
Fri Mar 10 12:07:55.731819063 2017: pid 13789: thd-0x1a14450: chunker:
xfer_queue_message: MSG: <XMsg@0x7f8124001650 type=XMSG_CANCEL
elt=<XferSourceDirectTCPListen@0x1a04010> version=0>
Fri Mar 10 12:07:55.733157754 2017: pid 13789: thd-0xf21e00: chunker:
Cancelling <Xfer@0x1a02fa0 (<XferSourceDirectTCPListen@0x1a04010> ->
<XferDestHolding@0x1a03000>)>
Fri Mar 10 12:07:55.733319967 2017: pid 13789: thd-0x1a14400: chunker: sending
XMSG_CRC message
Fri Mar 10 12:07:55.733385780 2017: pid 13789: thd-0x1a14400: chunker:
xfer-dest-holding CRC: 00000000 size: 0
Fri Mar 10 12:07:55.733437530 2017: pid 13789: thd-0x1a14400: chunker:
xfer_queue_message: MSG: <XMsg@0x7f812c001680 type=XMSG_CRC
elt=<XferDestHolding@0x1a03000> version=0>
Fri Mar 10 12:07:55.733508630 2017: pid 13789: thd-0x1a14400: chunker:
xfer_queue_message: MSG: <XMsg@0x7f812c001500 type=XMSG_DONE
elt=<XferDestHolding@0x1a03000> version=0>
Fri Mar 10 12:07:55.733650080 2017: pid 13789: thd-0x1a14450: chunker:
xfer_queue_message: MSG: <XMsg@0x7f8124001500 type=XMSG_DONE
elt=<XferElementGlue@0x1a03130> version=0>
Fri Mar 10 12:07:57.306313044 2017: pid 13789: thd-0x1a144a0: chunker: sending
XMSG_CRC message
Fri Mar 10 12:07:57.306444207 2017: pid 13789: thd-0x1a144a0: chunker:
read_and_push_static CRC: 00000000 size 0
Fri Mar 10 12:07:57.306505882 2017: pid 13789: thd-0x1a144a0: chunker:
xfer_queue_message: MSG: <XMsg@0x7f8128001610 type=XMSG_CRC
elt=<XferSourceDirectTCPListen@0x1a040c0> version=0>
Fri Mar 10 12:07:57.306582220 2017: pid 13789: thd-0x1a144a0: chunker:
xfer_queue_message: MSG: <XMsg@0x7f81280019c0 type=XMSG_DONE
elt=<XferElementGlue@0x1a03260> version=0>
Fri Mar 10 12:07:57.309819828 2017: pid 13789: thd-0xf21e00: chunker: got 8
message from <XferSourceDirectTCPListen@0x1a040c0>
Fri Mar 10 12:07:57.321277543 2017: pid 13789: thd-0xf21e00: chunker: ru_utime
: 0
Fri Mar 10 12:07:57.321322831 2017: pid 13789: thd-0xf21e00: chunker: ru_stime
: 0
Fri Mar 10 12:07:57.321370181 2017: pid 13789: thd-0xf21e00: chunker: ru_maxrss
: 28552
Fri Mar 10 12:07:57.321390831 2017: pid 13789: thd-0xf21e00: chunker: ru_ixrss
: 0
Fri Mar 10 12:07:57.321409581 2017: pid 13789: thd-0xf21e00: chunker: ru_idrss
: 0
Fri Mar 10 12:07:57.321428494 2017: pid 13789: thd-0xf21e00: chunker: ru_isrss
: 0
Fri Mar 10 12:07:57.321446894 2017: pid 13789: thd-0xf21e00: chunker: ru_minflt
: 5293
Fri Mar 10 12:07:57.321465731 2017: pid 13789: thd-0xf21e00: chunker: ru_majflt
: 1
Fri Mar 10 12:07:57.321483969 2017: pid 13789: thd-0xf21e00: chunker: ru_nswap
: 0
Fri Mar 10 12:07:57.321502256 2017: pid 13789: thd-0xf21e00: chunker:
ru_inblock : 568
Fri Mar 10 12:07:57.321520631 2017: pid 13789: thd-0xf21e00: chunker:
ru_oublock : 32
Fri Mar 10 12:07:57.321538994 2017: pid 13789: thd-0xf21e00: chunker: ru_msgsnd
: 0
Fri Mar 10 12:07:57.321557157 2017: pid 13789: thd-0xf21e00: chunker: ru_msgrcv
: 0
Fri Mar 10 12:07:57.321575407 2017: pid 13789: thd-0xf21e00: chunker:
ru_nsignals: 0
Fri Mar 10 12:07:57.321593494 2017: pid 13789: thd-0xf21e00: chunker: ru_nvcsw
: 1822
Fri Mar 10 12:07:57.321612019 2017: pid 13789: thd-0xf21e00: chunker: ru_nivcsw
: 445
Fri Mar 10 12:07:57.321719269 2017: pid 13789: thd-0xf21e00: chunker: pid 13789
finish time Fri Mar 10 12:07:57 2017