Re: [BackupPC-users] tarExtract: Can't use an undefined value as a HASH

2018-04-28 Thread Craig Barratt via BackupPC-users
I make this change
<https://github.com/backuppc/backuppc/commit/c7ee020aadc23eee64850d5f0fc59df79c35ba04>
which likely fixes the issue.  But it would still be helpful to get the
more detailed XferLOG details so I can confirm what went wrong.

Craig

On Fri, Apr 27, 2018 at 10:37 AM, Patel, Tarak (SSC/SPC) <
tarak.pa...@canada.ca> wrote:

> Hi Craig,
>
>
>
> I will collect logs with XferLogLevel set to 5 of a failure and keep you
> posted.
>
>
>
> Thanks,
>
>
> Tarak
>
>
>
> *From:* Craig Barratt via BackupPC-users [mailto:backuppc-users@lists.
> sourceforge.net]
> *Sent:* 27 April, 2018 00:15
> *To:* General list for user discussion, questions and support <
> backuppc-users@lists.sourceforge.net>
> *Cc:* Craig Barratt <cbarr...@users.sourceforge.net>
> *Subject:* Re: [BackupPC-users] tarExtract: Can't use an undefined value
> as a HASH
>
>
>
> Can you increase the log level (XferLogLevel) to, eg, 5 and send me either
> the whole log file, or at a minimum the last few hundred lines up to and
> including the error?  Just send it directly to me, and not to the list, or
> we could use Google drive or dropbox etc.
>
> Thanks,
> Craig
>
>
>
> On Thu, Apr 26, 2018 at 8:39 AM, Patel, Tarak (SSC/SPC) <
> tarak.pa...@canada.ca> wrote:
>
> Hi all,
>
>
>
> I’ve been testing BackupPC (Version 4.2.0 ) for 2-3 weeks now and I’m
> seeing ‘tarExtract: Can't use an undefined value as a HASH’ error every so
> often. In order to ensure a consistent backup I use one of the snapshots
> from the filesystem of interest. Below is an ‘partial’ log from one such
> failure:
>
>
>
> cmdExecOrEval: about to exec /usr/local/openssh-7.5p1/bin/ssh -o
> NoneSwitch=yes -o NoneEnabled=yes -q -x -n -l root  env LC_ALL=C
> /bin/tar --one-file-system --ignore-failed-read -c -v -f - -C 
> /.snapshots/@GMT-\`date --date=yesterday \'+%Y.%m.%d\'\`-06\* --totals .
>
>
>
> tarExtract: Can't use an undefined value as a HASH reference at
> /usr/local/BackupPC/bin/BackupPC_tarExtract line 1078.
>
> BackupPC_tarExtract exited with fail status 512
>
> readOutput: sysread returns 0 and got EOF
>
> Tar exited with error 65280 () status
>
> Xfer PIDs are now
>
> xferPids
>
> Got fatal error during xfer (BackupPC_tarExtract exited with fail status
> 512)
>
> cmdSystemOrEval: about to system /bin/ping -c 1 homeprotox.science.gc.ca
>
> cmdSystemOrEval: about to system /bin/ping -c 1 homeprotox.science.gc.ca
>
> CheckHostAlive: ran '/bin/ping -c 1 homeprotox.science.gc.ca'; returning
> 0.599
>
> Backup aborted (BackupPC_tarExtract exited with fail status 512)
>
> __bpc_progress_state__ fail cleanup
>
> BackupFailCleanup: nFilesTotal = 11521, type = full, BackupCase = 6,
> inPlace = 1, lastBkupNum =
>
> BackupFailCleanup: inPlace with some new files... no cleanup and marking
> partial
>
>
>
>
>
> Any insight is greatly appreciated.
>
>
>
> Thank you,
>
>
>
> Tarak
>
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] tarExtract: Can't use an undefined value as a HASH

2018-04-27 Thread Patel, Tarak (SSC/SPC)
Hi Craig,

I will collect logs with XferLogLevel set to 5 of a failure and keep you posted.

Thanks,

Tarak

From: Craig Barratt via BackupPC-users 
[mailto:backuppc-users@lists.sourceforge.net]
Sent: 27 April, 2018 00:15
To: General list for user discussion, questions and support 
<backuppc-users@lists.sourceforge.net>
Cc: Craig Barratt <cbarr...@users.sourceforge.net>
Subject: Re: [BackupPC-users] tarExtract: Can't use an undefined value as a HASH

Can you increase the log level (XferLogLevel) to, eg, 5 and send me either the 
whole log file, or at a minimum the last few hundred lines up to and including 
the error?  Just send it directly to me, and not to the list, or we could use 
Google drive or dropbox etc.

Thanks,
Craig

On Thu, Apr 26, 2018 at 8:39 AM, Patel, Tarak (SSC/SPC) 
<tarak.pa...@canada.ca<mailto:tarak.pa...@canada.ca>> wrote:
Hi all,

I’ve been testing BackupPC (Version 4.2.0 ) for 2-3 weeks now and I’m seeing 
‘tarExtract: Can't use an undefined value as a HASH’ error every so often. In 
order to ensure a consistent backup I use one of the snapshots from the 
filesystem of interest. Below is an ‘partial’ log from one such failure:

cmdExecOrEval: about to exec /usr/local/openssh-7.5p1/bin/ssh -o NoneSwitch=yes 
-o NoneEnabled=yes -q -x -n -l root  env LC_ALL=C /bin/tar 
--one-file-system --ignore-failed-read -c -v -f - -C 
/.snapshots/@GMT-\`date<mailto:/.snapshots/@GMT-\%60date> 
--date=yesterday \'+%Y.%m.%d\'\`-06\* --totals .

tarExtract: Can't use an undefined value as a HASH reference at 
/usr/local/BackupPC/bin/BackupPC_tarExtract line 1078.
BackupPC_tarExtract exited with fail status 512
readOutput: sysread returns 0 and got EOF
Tar exited with error 65280 () status
Xfer PIDs are now
xferPids
Got fatal error during xfer (BackupPC_tarExtract exited with fail status 512)
cmdSystemOrEval: about to system /bin/ping -c 1 
homeprotox.science.gc.ca<http://homeprotox.science.gc.ca>
cmdSystemOrEval: about to system /bin/ping -c 1 
homeprotox.science.gc.ca<http://homeprotox.science.gc.ca>
CheckHostAlive: ran '/bin/ping -c 1 
homeprotox.science.gc.ca<http://homeprotox.science.gc.ca>'; returning 0.599
Backup aborted (BackupPC_tarExtract exited with fail status 512)
__bpc_progress_state__ fail cleanup
BackupFailCleanup: nFilesTotal = 11521, type = full, BackupCase = 6, inPlace = 
1, lastBkupNum =
BackupFailCleanup: inPlace with some new files... no cleanup and marking partial


Any insight is greatly appreciated.

Thank you,

Tarak


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] tarExtract: Can't use an undefined value as a HASH

2018-04-26 Thread Craig Barratt via BackupPC-users
Can you increase the log level (XferLogLevel) to, eg, 5 and send me either
the whole log file, or at a minimum the last few hundred lines up to and
including the error?  Just send it directly to me, and not to the list, or
we could use Google drive or dropbox etc.

Thanks,
Craig

On Thu, Apr 26, 2018 at 8:39 AM, Patel, Tarak (SSC/SPC) <
tarak.pa...@canada.ca> wrote:

> Hi all,
>
> I’ve been testing BackupPC (Version 4.2.0 ) for 2-3 weeks now and I’m
> seeing ‘tarExtract: Can't use an undefined value as a HASH’ error every so
> often. In order to ensure a consistent backup I use one of the snapshots
> from the filesystem of interest. Below is an ‘partial’ log from one such
> failure:
>
> cmdExecOrEval: about to exec /usr/local/openssh-7.5p1/bin/ssh -o
> NoneSwitch=yes -o NoneEnabled=yes -q -x -n -l root  env LC_ALL=C
> /bin/tar --one-file-system --ignore-failed-read -c -v -f - -C
> /.snapshots/@GMT-\`date --date=yesterday \'+%Y.%m.%d\'\`-06\*
> --totals .
>
> tarExtract: Can't use an undefined value as a HASH reference at
> /usr/local/BackupPC/bin/BackupPC_tarExtract line 1078.
> BackupPC_tarExtract exited with fail status 512
> readOutput: sysread returns 0 and got EOF
> Tar exited with error 65280 () status
> Xfer PIDs are now
> xferPids
> Got fatal error during xfer (BackupPC_tarExtract exited with fail status
> 512)
> cmdSystemOrEval: about to system /bin/ping -c 1 homeprotox.science.gc.ca
> cmdSystemOrEval: about to system /bin/ping -c 1 homeprotox.science.gc.ca
> CheckHostAlive: ran '/bin/ping -c 1 homeprotox.science.gc.ca'; returning
> 0.599
> Backup aborted (BackupPC_tarExtract exited with fail status 512)
> __bpc_progress_state__ fail cleanup
> BackupFailCleanup: nFilesTotal = 11521, type = full, BackupCase = 6,
> inPlace = 1, lastBkupNum =
> BackupFailCleanup: inPlace with some new files... no cleanup and marking
> partial
>
>
> Any insight is greatly appreciated.
>
> Thank you,
>
> Tarak
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] tarExtract: Can't use an undefined value as a HASH

2018-04-26 Thread Patel, Tarak (SSC/SPC)
Hi all,

I've been testing BackupPC (Version 4.2.0 ) for 2-3 weeks now and I'm seeing 
'tarExtract: Can't use an undefined value as a HASH' error every so often. In 
order to ensure a consistent backup I use one of the snapshots from the 
filesystem of interest. Below is an 'partial' log from one such failure:

cmdExecOrEval: about to exec /usr/local/openssh-7.5p1/bin/ssh -o NoneSwitch=yes 
-o NoneEnabled=yes -q -x -n -l root  env LC_ALL=C /bin/tar 
--one-file-system --ignore-failed-read -c -v -f - -C 
/.snapshots/@GMT-\`date --date=yesterday \'+%Y.%m.%d\'\`-06\* --totals 
.

tarExtract: Can't use an undefined value as a HASH reference at 
/usr/local/BackupPC/bin/BackupPC_tarExtract line 1078.
BackupPC_tarExtract exited with fail status 512
readOutput: sysread returns 0 and got EOF
Tar exited with error 65280 () status
Xfer PIDs are now
xferPids
Got fatal error during xfer (BackupPC_tarExtract exited with fail status 512)
cmdSystemOrEval: about to system /bin/ping -c 1 homeprotox.science.gc.ca
cmdSystemOrEval: about to system /bin/ping -c 1 homeprotox.science.gc.ca
CheckHostAlive: ran '/bin/ping -c 1 homeprotox.science.gc.ca'; returning 0.599
Backup aborted (BackupPC_tarExtract exited with fail status 512)
__bpc_progress_state__ fail cleanup
BackupFailCleanup: nFilesTotal = 11521, type = full, BackupCase = 6, inPlace = 
1, lastBkupNum =
BackupFailCleanup: inPlace with some new files... no cleanup and marking partial


Any insight is greatly appreciated.

Thank you,

Tarak

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/