Amanda-Users

Re: amcheck loocup problems

2006-02-22 14:15:26
Subject: Re: amcheck loocup problems
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Glenn English <ghe AT slsware DOT com>
Date: Wed, 22 Feb 2006 20:08:43 +0100

The explanation is a bit confusing...

On 2006-02-22 19:52, Glenn English wrote:
Last night, for the first time, a large part of my backup failed because neither of the hosts on the dmz could be located. I ran amcheck. It failed too, saying the name lookup failed and giving 192.168.20.239 as the IP for both of them. It got the net part right, but one is 20 and the other is 218.

"...large part..."   and "...both of them..." ?

Do you mean that there are two hosts that fail, and when you run
amcheck you get "name lookup failed".
What is the exact error message?  (That help to find the lines in the
source code too.)

Strange thing is that you say "name lookup failed", but apparently
the name is already translated into an IP-number...

Do you mean that one host should be 192.169.20.20 and the other 192.168.20.218?



I ran ping, which does its lookup in /etc/hosts, and it worked. I ran host to check DNS, and it worked. I tried a reverse lookup on the 239 IP, and it could not be found. And all my networking is working normally.

I restarted bind, but amcheck came up with the same thing. Grep -r (as root) says the string '192.168.20.239' does not exist in /etc. It looks like everybody but amdump and amcheck find the IPs with no trouble. And I can't think of where the 239 IP is coming from. Any suggestions?

Just a wild guess...  DHCP?   That means that you will not find the
string 192.168.20.239 in some file, but you find a range for dhcp,
and you find some string like that in /var/wherever/dhcp/keeps/state .
Together with dynamic DNS updates, that could hijack ip numbers/names
if you do not take care...


--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************


<Prev in Thread] Current Thread [Next in Thread>