BackupPC-users

[BackupPC-users] nmblookup for hosts and gzip

2009-08-13 13:02:58
Subject: [BackupPC-users] nmblookup for hosts and gzip
From: James Kyle <jameskyle AT ucla DOT edu>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 13 Aug 2009 09:58:56 -0700
Backuppc 3.2  beta. (the nmblookup failure also occurs on 3.1 stable  
in the same manor)

When I attempt to view error logs I get a bunch of character spew. It  
looks like it's not Backuppc_zcat'ing the file. I can manually do this  
and the output of the client's logfile.z is fine.


I'm also seeing failures on clients when an nmblookup is needed. (the  
same client will back up fine if I set the hostname to it's appletalk  
name, e.g. foo.local).

netbios lookups do succeed:

>  /usr/bin/nmblookup foo
> querying 17369-baker on 10.9.22.255
> 10.9.22.31 foor<00>


Log output looks like this after failure:

> /usr/local/BackupPC/bin/BackupPC_zcat XferLOG.bad.z
> full backup started for directory /
> Running: /usr/bin/ssh -q -x -l backuppc foo /usr/bin/sudo /Network/ 
> macports/ppc/bin/rsync --server --sender --numeric-ids --perms -- 
> owner --group -D --links --hard-links --times --block-size=2048 -- 
> recursive --ignore-times . /
> Xfer PIDs are now 42783
> Rsync command pid is 42783
> Fetching remote protocol
> Read EOF:
> Tried again: got 0 bytes
> Done: 0 files, 0 bytes
> Got fatal error during xfer (Unable to read 4 bytes)
> Backup aborted (Unable to read 4 bytes)
> Not saving this as a partial backup since it has fewer files than  
> the prior one (got 0 and 0 files versus 0)

If you notice, it's using the hostname not the ip. If I manually  
execute BackupPC_dump it shows that it finds the ip correctly, but  
then reverts to using the hostname:

> Name server doesn't know about foo; trying NetBios
> cmdSystemOrEval: about to system /usr/bin/nmblookup foo
> cmdSystemOrEval: finished: got output querying foo on 10.9.22.255
> 10.9.22.31 foo<00>
>
> NetBiosHostIPFind: found IP address 10.9.22.31 for host foo
> cmdSystemOrEval: about to system /sbin/ping -c 1 10.9.22.31
> cmdSystemOrEval: finished: got output PING 10.9.22.31 (10.9.22.31):  
> 56 data bytes
> 64 bytes from 10.9.22.31: icmp_seq=0 ttl=64 time=0.408 ms
>
> --- 10.9.22.31 ping statistics ---
> 1 packets transmitted, 1 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 0.408/0.408/0.408/nan ms
>
> cmdSystemOrEval: about to system /sbin/ping -c 1 10.9.22.31
> cmdSystemOrEval: finished: got output PING 10.9.22.31 (10.9.22.31):  
> 56 data bytes
> 64 bytes from 10.9.22.31: icmp_seq=0 ttl=64 time=0.340 ms
>
> --- 10.9.22.31 ping statistics ---
> 1 packets transmitted, 1 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 0.340/0.340/0.340/0.000 ms
>
> CheckHostAlive: returning 0.340
> cmdSystemOrEval: about to system /usr/bin/nmblookup -A 10.9.22.31
> cmdSystemOrEval: finished: got output Looking up status of 10.9.22.31
>         17369-BAKER     <00> -         H <ACTIVE>
>         17369-BAKER     <03> -         H <ACTIVE>
>         17369-BAKER     <20> -         H <ACTIVE>
>         WORKGROUP       <1e> - <GROUP> H <ACTIVE>
>         WORKGROUP       <00> - <GROUP> H <ACTIVE>
>
>         MAC Address = 00-00-00-00-00-00
>
>
> NetBiosInfoGet: success, returning host foo, user foo
> full backup started for directory /
> started full dump, share=/

-james
>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] nmblookup for hosts and gzip, James Kyle <=