SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
WG: AW: smbtar errors (50001)
Author Message
Post WG: AW: smbtar errors (50001) 
none. below is last XferLog.bad (only errors) of one of those two failing
hosts. the messages about "session request ..." are "normal", they are
displayed also i the backup will be completed. and you see, that 50016 lines
are following, the last one of those 50016 transfered files is like that:

1238 ( 151.1 kb/s) \Groups\KSM\datascan\Archiv\Daten\Text\ZY017575.txt

XferLog.bad (only errors):

Running: /usr/bin/smbclient \\\\123.12.3.4\\d\$ -U backup -E -N -d 1 -c
tarmode\ full -TcrX - /RECYCLER /Tausch
Xfer PIDs are now 5823,5821
tar_re_search set
[ uberspringe 1 Zeilen ]
session request to 123.12.3.4 failed (Called name not present)
session request to 123 failed (Called name not present)
[ uberspringe 50016 Zeilen ]


-----Ursprungliche Nachricht-----
Von: Craig Barratt [mailto:craig < at > atheros.com]
Gesendet: Montag, 15. Marz 2004 18:45
An: Lammersdorf, Lorenz
Cc: backuppc-users < at > lists.sourceforge.net
Betreff: Re: AW: [BackupPC-users] smbtar errors (50001)


"Lammersdorf, Lorenz" writes:

i've done this before, the discs are sane.

What errors are displayed in the XferLOG.bad file?

Craig


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post WG: AW: smbtar errors (50001) 
"Lammersdorf, Lorenz" writes:

none. below is last XferLog.bad (only errors) of one of those two failing
hosts. the messages about "session request ..." are "normal", they are
displayed also i the backup will be completed. and you see, that 50016 lines
are following, the last one of those 50016 transfered files is like that:

1238 ( 151.1 kb/s) \Groups\KSM\datascan\Archiv\Daten\Text\ZY017575.txt

XferLog.bad (only errors):

Running: /usr/bin/smbclient \\\\123.12.3.4\\d\$ -U backup -E -N -d 1 -c
tarmode\ full -TcrX - /RECYCLER /Tausch
Xfer PIDs are now 5823,5821
tar_re_search set
[ uberspringe 1 Zeilen ]
session request to 123.12.3.4 failed (Called name not present)
session request to 123 failed (Called name not present)
[ uberspringe 50016 Zeilen ]

That's strange. The code in lib/BackupPC/Xfer/Smb.pm does this:

if ( /^\s*(-?\d+) \(\s*\d+\.\d kb\/s\) (.*)$/ ) {
....
}

If the string matches then it is counted as a file, not an
error. Otherwise, a few other strings are checked, and
if none match it is considered an error.

For some reason, the string you should does not match the regex above.
But it does, eg:

#!/bin/perl

my $str = '1238 ( 151.1 kb/s) \Groups\KSM\datascan\Archiv\Daten\Text\ZY017575.txt';
print $str =~ /^\s*(-?\d+) \(\s*\d+\.\d kb\/s\) (.*)$/ ? "yes" : "no", "\n";

prints "yes".

You need to look at more of the XferLOG.bad file to see why the
regexp doesn't match. I'm curious to know the cause+solution.

Craig


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB