Amanda-Users

RE: Hostname lookups[continued]

2002-09-19 11:51:22
Subject: RE: Hostname lookups[continued]
From: "Martinez, Michael - CSREES/ISTM" <MMARTINEZ AT intranet.reeusda DOT gov>
To: "'Gene Heskett'" <gene_heskett AT iolinc DOT net>, Mozzi <linux AT mostert.nom DOT za>
Date: Thu, 19 Sep 2002 11:31:49 -0400
When I first installed amanda I had this problem too, and fixed it by making
sure .amanahosts had correct permissions and correct contents.

Here's the specs, in the case when an Amanda server is also an Amanda
Client.

Server .amandahosts (perms 400)
------------------------
server.com amanda
server.com root
client1.com root
client2.com root
client3.com root

Client .amandahosts (perms 660)
-------------------------------
server.com amanda

Michael Martinez
System Administrator


> -----Original Message-----
> From: Gene Heskett [mailto:gene_heskett AT iolinc DOT net]
> Sent: Thursday, September 19, 2002 11:01 AM
> To: Mozzi
> Cc: amanda
> Subject: Re: Hostname lookups[continued]
> 
> 
> On Thursday 19 September 2002 08:57, Mozzi wrote:
> >Gene Heskett wrote:
> >k 5.020 seconds
> >
> >>>Amanda Backup Client Hosts Check
> >>>--------------------------------
> >>>ERROR: <my host>: [addr 192.168.2.215: hostname lookup failed]
> >>>Client check: 1 host checked in 0.028 seconds, 1 problem found
> >>>----------------------------------------------------------------
> >>>-- ---------------------------- The ip addy it gives back is
> >>> wrong.[192.168.2.215] should be 192.168.2.208 I added the
> >>> ip/hostname in my /etc/hosts file
> >>>I also double checked my dns forward and reverse lookups and all
> >>>is well there.
> >>
> >> How about the entry in .amandahosts?
> >
> >Now I get this
> >
> >Amanda Backup Client Hosts Check
> >--------------------------------
> >ERROR: <client1.domain.com>:
> >[<backuphost.domain.com>.84.25.196.in-addr.arpa: hostname lookup
> > failed] ERROR: <client2.domain.com>:
> >[<backuphost.domain.com>.84.25.196.in-addr.arpa: hostname lookup
> > failed] Client check: 2 hosts checked in 0.036 seconds, 2
> > problems found
> 
> Now you've got me a bit puzzled, mainly because I only see 3 of the 
> 4 numbers of the IP address in the reports above.  And not having 
> seen this error, I can't state that its odd or normal.  Also, my 
> debug logs don't seem to contain this info either, sorry.
> 
> >When I do a reverse lookup for the backuphost from the backuphost
> > and from both the clients I get the correct response
> >Also for both the clients
> ># host <ip addy>
> >So my os (Linux) is doing correct resolving and reverse lookups.
> >
> >The entry's on my named server have also been checked.
> >
> >My .amandahosts files on the clients and backuphost are checked
> > and correct. Allowing the clients in as root on backuphost and
> > backuphost in as amanda on clients
> >I have tried putting the clients in the /etc/hosts file and taken
> > them out I have checked my /tmp/amanda files
> >And done searches in the mail archives and the faq o matic
> >
> >All hosts are on the same subnet on the same (cisco)switch
> >
> >Have I missed something ?
> >Still stumped
> 
> Thats not too bad if the stump came equipt with a jug of good clear 
> lightning. :-)
> 
> -- 
> Cheers, Gene
> AMD K6-III@500mhz 320M
> Athlon1600XP@1400mhz  512M
> 99.15% setiathome rank, not too shabby for a WV hillbilly
> 

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