Amanda-Users

Re: Strange DNS lookup problems ... I think ...

2004-03-07 18:32:56
Subject: Re: Strange DNS lookup problems ... I think ...
From: Geoff Swavley <geoffs AT radx DOT net>
To: amanda users <amanda-users AT amanda DOT org>
Date: Mon, 08 Mar 2004 10:26:19 +1100
hi all  ... thanks for the reply's so far ....

I know the reverse lookups are fine (see original email) ... to add some
more info that might help, look at this weekends results .... there are 8
filesystems in the schedule ... 8 of them work ... and ONE of them gets the
error ... one can only assume that maybe there is a DNS timeout in the
code. The other 7 worked fine. I know the host gets pretty loaded up ...
it's feeding 5 AIT tape drives and the disks are working at about 15-20MB /sec
when they are "feeding" the 5 tape drives. Maybe it's a timeout??

Here's the output from the weekend:

Subject:        schedule6 AMANDA MAIL REPORT FOR March 5, 2004
   Date:         Fri, 5 Mar 2004 21:11:03 +1100 (EST)
   From:        Amanda Archiving Server <amanda AT dipnr.nsw.gov DOT au>
     To:         amanda AT dipnr.nsw.gov DOT au

These dumps were to tape schedule6-WEEK2.
The next tape Amanda expects to use is: schedule6-WEEK3.

FAILURE AND STRANGE DUMP SUMMARY:
  intrap     /htdocs lev 0 FAILED [ [host windamere.dlwc.nsw.gov.au: hostname
lookup failed]]


STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Estimate Time (hrs:min)    0:04
Run Time (hrs:min)         2:11
Dump Time (hrs:min)        1:36       1:36       0:00
Output Size (meg)       19176.8    19176.8        0.0
Original Size (meg)     19176.8    19176.8        0.0
Avg Compressed Size (%)     --         --         --
Filesystems Dumped            7          7          0
Avg Dump Rate (k/s)      3405.0     3405.0        --

Tape Time (hrs:min)        1:45       1:45       0:00
Tape Size (meg)         19176.8    19176.8        0.0
Tape Used (%)              26.8       26.8        0.0
Filesystems Taped             7          7          0
Avg Tp Write Rate (k/s)  3105.1     3105.1        --

USAGE BY TAPE:
  Label                 Time      Size      %    Nb
  schedule6-WEEK2       1:45   19176.8   26.8     7


FAILED AND STRANGE DUMP DETAILS:

/-- intrap     /htdocs lev 0 FAILED [ [host windamere.dlwc.nsw.gov.au: hostname
lookup failed]]
\--------


NOTES:
  planner: tapecycle (6) <= runspercycle (6)
  planner: Last full dump of intrap:/htdocs on tape  overwritten in 1 run.
  taper: tape schedule6-WEEK2 kb 19637248 fm 7 [OK]


DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS
HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-------------------------- --------------------------------- ------------
intrap       /           0 28156482815648   --    7:076599.7  15:023123.1
intrap       /appl       0 12363201236320   --    3:395636.7   6:493020.1
intrap       -xport/home 0  437184 437184   --    0:587507.5   2:302915.7
intrap       /htdocs     0 FAILED ---------------------------------------
intrap       /opt        0 14208641420864   --    4:095717.6   7:363115.5
intrap       /opt/apache 0 47804484780448   --   24:173281.8  25:333118.1
intrap       /u01        0 57900805790080   --   48:191997.2  31:043106.2
intrap       /u02        0 31564803156480   --    7:396882.0  16:503124.9

(brought to you by Amanda version 2.4.4p2)




Jonathan Dill wrote:

> Resolving IP address to a hostname (reverse lookup) is the part that
> looks broken, check the reverse domain in the DNS i.e.
>
> host 172.24.16.86
> or
> nslookup 172.24.16.86
>
> The error says *hostname* lookup failed, not "address lookup failed."
> Someone else reported a similar problem a few days ago, and he reported
> that there was a typo in the reverse domain file of the DNS, and that
> fixing that fixed the problem.
>
> I wonder though, Why does amanda need to do a reverse lookup?  You give
> amanda a hostname in the DLE, and it looks up the IP address, which
> should be adequate for amanda to do what it needs to do.  But then it
> tries to do a reverse lookup for the hostname based on the IP address,
> and gives up if that fails.
>
> It would be nice if the reverse lookup could be avoided.  In principle,
> yes, the reverse table in your DNS should be correct, but failing backup
> seems like an expensive DNS diagnostic.
>
> >>  planner: ERROR intrap:  [addr 172.24.16.86: hostname lookup failed]
> >>
> >>
> --jonathan

--
geoffs :-)
----------------------------------------------------------------------
Geoff Swavley                       Email : geoffs AT radx DOT net
UNIX Sys Admin                      Snail : Level 8, 10 Valentine Ave,
Support and Network Operations              Parramatta   NSW   2150
Dept of Infrastructure, Planning            Sydney  Australia
and Natural Resources                       Phone : 61-2-98957125
http://www.radx.net/~geoffs                 Fax   : 61-2-98957086
Mobile: 61-422-002005                       Home  : 61-2-96593637
----------------------------------------------------------------------
 "Be wary of the man who urges an action in which he himself incurs
  no risk." - Setanti, Joaquin de