Amanda-Users

Re: Hostname lookup failed

2005-07-05 01:52:47
Subject: Re: Hostname lookup failed
From: Bert_De_Ridder AT peopleware DOT be
To: "Dominique Arpin" <dominique AT espacecourbe DOT com>
Date: Tue, 5 Jul 2005 07:34:13 +0200

I have had the same problem once, one of the machines that I back up sometimes wasn't found; I always thought it was some kind of time out problem since everything else worked (ping, dig).
I ended up adding the machine in the backup server's /etc/hosts file. That should of course only be done if the ip address is fixed.


HTH

Bert De Ridder

PeopleWare NV - Head Office

Cdt.Weynsstraat 85
B-2660 Hoboken
Tel: +32 3 448.33.38
Fax: +32 3 448.32.66


PeopleWare NV - Branch Office Geel

Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25


http://www.peopleware.be
http://www.mobileware.be





"Dominique Arpin" <dominique AT espacecourbe DOT com>
Sent by: owner-amanda-users AT amanda DOT org

04/07/2005 18:18

To
"Montagni, Giovanni" <gmontagni AT manord DOT com>
cc
amanda-users AT amanda DOT org
Subject
Re: Hostname lookup failed






> Hi to all,
> I have a problem with amanda.
>
>
> In december i've set-up amanda to backup the same machine that have the
> tape drive. Everything worked fine but today amcheck give me this error:
>
>
> Amanda Tape Server Host Check
> -----------------------------
> NOTE: skipping tape-writable test
> Tape bkimmob01 label ok
> WARNING: tapecycle (20) <= runspercycle (20).
> Server check took 0.275 seconds
>
>
> Amanda Backup Client Hosts Check
> --------------------------------
> ERROR: auriga: [addr 172.30.2.195: hostname lookup failed]
> Client check: 1 host checked in 0.007 seconds, 1 problem found
>

Verify if you have a reverse DNS for this IP. You can test the reverse DNS
with :
dig -x 172.30.2.195

> (brought to you by Amanda 2.4.4p4)
>
>
> As you can see, the machine can resolve its hostname:
>
>
> [root@auriga local]# ping auriga
> PING auriga.manord.com (172.30.2.195) 56(84) bytes of data.
> 64 bytes from 172.30.2.195: icmp_seq=0 ttl=64 time=0.043 ms
> 64 bytes from 172.30.2.195: icmp_seq=1 ttl=64 time=0.058 ms
>
>
> --- auriga.manord.com ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 999ms
> rtt min/avg/max/mdev = 0.043/0.050/0.058/0.010 ms, pipe 2
>
> --------------------------
>
>
> [root@auriga local]# nslookup
>
>> auriga
> Server:         172.30.2.128
> Address:        172.30.2.128#53
>
>
> Name:   auriga.manord.com
> Address: 172.30.2.195
>
>
> --------------------------
>
>
> i've tried to shutdown firewall, or restart xinetd, but nothing have
> changed.
>
> any help would be appreciated,
>
> Giovanni
>
>
> p.s. sorry for bad english.
>


--
Dominique Arpin_______________________[   Espace
administrateur réseau                     Courbe    ]
A+,Linux+,Server+,MCP                     http://www.espacecourbe.com/
                                         téléphone    514.933.9861
                                         télécopieur  514.933.9546


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