On Mar 5, 2010, at 2:38 PM, Les Mikesell wrote:
On 3/5/2010 2:09 PM, Summers, James B. II wrote:
The configured ping command is:
$pingPath -c 1 -w 3 $host
and from the command line on the server:
/bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.46 ms
Can you ping the name you defined for the host in backuppc?
No I can not ping it by name, only address. I guess I thought that BackupPC was doing it by addr or name as needed. It seems like that is how it is done with the two nmblookup commands and using the same $host variable.
Here is some commands and their output:
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.34 ms
--- 129.15.78.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.343/1.343/1.343/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 jbsoffice
ping: unknown host jbsoffice
[backuppc < at > rabin ~]$ host 129.15.78.102
102.78.15.129.in-addr.arpa domain name pointer d-ip-129-15-78-102.cs.ou.edu.
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 -A 129.15.78.102
Looking up status of 129.15.78.102
JBSOFFICE <00> - M <ACTIVE>
WORKGROUP <00> - <GROUP> M <ACTIVE>
JBSOFFICE <20> - M <ACTIVE>
WORKGROUP <1e> - <GROUP> M <ACTIVE>
MAC Address = 00-01-03-25-00-1E
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 jbsoffice
querying jbsoffice on 129.15.1.120
129.15.78.102 jbsoffice<00>
[backuppc < at > rabin ~]$ ping -c 1 -w 3 d-ip-129-15-78-102.cs.ou.edu
PING d-ip-129-15-78-102.cs.ou.edu (129.15.78.102) 56(84) bytes of data.
64 bytes from d-ip-129-15-78-102.cs.ou.edu (129.15.78.102): icmp_seq=0 ttl=128 time=0.194 ms
--- d-ip-129-15-78-102.cs.ou.edu ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 d-ip-129-15-78-102.cs.ou.edu
querying d-ip-129-15-78-102.cs.ou.edu on 129.15.1.120
name_query failed to find name d-ip-129-15-78-102.cs.ou.edu
So going through all of that it seems that ping will only work when it uses the DNS and nmblookup will only work with responses from the winserver?
Am I not naming the host correctly maybe?
The pc's I want to backup will actually sit on a different 10.x.x.x NAT network and will not have static entries.
Ideas?
Thanks Again!
Also, when you said you could do a backup from the command line, are you
using BackupPC_serverMesg? If not, do you get some kind of error if you
try it that way?
The command that will do a backup is:
BackupPC_dump -v -f jbsoffice
http://www.mail-archive.com/backuppc-users < at > lists.sourceforge.net/msg01227.html
--
Les Mikesell
lesmikesell < at > gmail.com
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
---
Jim Summers
School of Computer Science-University of Oklahoma
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
