BackupPC-users

Re: [BackupPC-users] xxx is a DHCP host, and I don't know its IP address...

2011-01-31 11:15:15
Subject: Re: [BackupPC-users] xxx is a DHCP host, and I don't know its IP address...
From: "Ryan Blake" <rblake3 AT hotmail DOT com>
To: <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 31 Jan 2011 11:13:35 -0500
Mike,

Have you checked your reverse DNS PTR records?  In other words, did you do 
an nslookup on 192.168.1.117 to ensure it points back to the host?  If 
that's not correct, try correcting it and see what happens.  For some 
reason, I remember having a similar problem and it ended up being a reverse 
DNS problem.

~Ryan

--------------------------------------------------
From: "itismike" <backuppc-forum AT backupcentral DOT com>
Sent: Monday, January 31, 2011 10:38 AM
To: <backuppc-users AT lists.sourceforge DOT net>
Subject: [BackupPC-users]  xxx is a DHCP host,and I don't know its IP 
address...

> I emailed this to the backuppc-users AT lists.sourceforge DOT net address 
> last 
> night but didn't see it go out. My apologies if this is the second time 
> you're seeing it.
>
> -Mike
>
>
> I've been struggling with this error for too long and need to ask for some 
> help. I had BackupPC working when my IP address was set as a pre-defined 
> lease in my router. But I decided to instead configure the laptop as a 
> DHCP client so I could back up over Ethernet or wireless. This is the 
> error I now get in the CGI when attempting to perform a backup:
> ---
> "Error: Can't find IP address for michael-ubuntu
> michael-ubuntu is a DHCP host, and I don't know its IP address. I checked 
> the netbios name of 192.168.1.117, and found that that machine is not 
> michael-ubuntu. Until I see michael-ubuntu at a particular DHCP address, 
> you can only start this request from the client machine itself."
> ---
>
> As others have reported, the IP address is actually correct for my client. 
> Originally I thought it was a DNS issue, and I chased down a bug in Ubuntu 
> that doesn't broadcast it's hostname during a DHCP request. Adding the 
> following to my /etc/dhcp3/dhclient.conf file resolved that:
>
> send fqdn.server-update on
>
>
> That, in conjunction with running DNSMasq on the router allows me to ping 
> the target laptop via hostname from the BackupPC server, which wasn't 
> working prior to this change. However this solved nothing for BackupPC as 
> it still returning the error above.
>
> Several google searches landed me mostly in the archives of the BackupPC 
> mailing list, and steered me toward the "NmbLookupFindHostCmd" setting 
> within config.pl. One post suggested modifying settings for 
> NmbLookupFindHostCmd, but I'd rather try to stick with standard settings 
> than break things that are there for a reason. Plus, this was all working 
> fine until I decided to disable assigned IP addresses in my DHCP settings, 
> so I believe it has the ability to connect without disabling/modifying 
> this check.
>
> I learned that nmblookup -A <IP_address> is supposed to return a hostname, 
> and it does not.
>
> To test things, I ran BackupPC_dump as the backuppc user on my server, but 
> I don't think it tells me anything about this nmblookup situation 
> (although I am surprised that it claims that the ping response is to 
> slow):
>
> ====
> $ /usr/share/backuppc/bin/BackupPC_dump -v -f michael-ubuntu
> cmdSystemOrEval: about to system /bin/ping -c 1 michael-ubuntu
> cmdSystemOrEval: finished: got output PING michael-ubuntu.mikeshome
> (192.168.1.117) 56(84) bytes of data.
> 64 bytes from michael-Ubuntu.mikeshome (192.168.1.117): icmp_seq=1
> ttl=64 time=16.5 ms
>
> --- michael-ubuntu.mikeshome ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt 
> min/avg/max/mdev = 16.507/16.507/16.507/0.000 ms
>
> cmdSystemOrEval: about to system /bin/ping -c 1 michael-ubuntu
> cmdSystemOrEval: finished: got output PING michael-ubuntu.mikeshome 
> (192.168.1.117) 56(84) bytes of data.
> 64 bytes from michael-Ubuntu.mikeshome (192.168.1.117): icmp_seq=1 ttl=64 
> time=97.5 ms
>
> --- michael-ubuntu.mikeshome ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt 
> min/avg/max/mdev = 97.563/97.563/97.563/0.000 ms
>
> CheckHostAlive: returning 97.563
> ping too slow: 97.56msec (threshold is 20msec)
> $
> ====
>
> I'm not sure where to go from here. How can I test this nmblookup deal?
>
> Thanks,
> Mike
>
> +----------------------------------------------------------------------
> |This was sent by itismike AT gmail DOT com via Backup Central.
> |Forward SPAM to abuse AT backupcentral DOT com.
> +----------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better 
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> 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/
> 

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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>