nv-l
[Top] [All Lists]

Ang: Re: netmon and /etc/hosts ?

To: nv-l@lists.tivoli.com
Subject: Ang: Re: netmon and /etc/hosts ?
From: Hakan.K.Andersson@ica.se
Date: Thu, 22 Jun 2000 09:08:59 +0100


Try putting this in the /etc/netsvc.conf file:
hosts=local,bind4

We had DNS lookup problems when we changed our DNS servers from AIX to NT.
The problem was that all our AIX 4.3.2 servers took very long time to resolv 
names.
We got help from AIX support and they told us to use "bind4" in 
/etc/netsvc.conf because
it has to do with the IPv6 implementation in bos.rte.libc.4.3.1.1 .
By default all name resolution is done looking for IPv6 addresses first, then 
IPv4 and
this could be a problem with some DNS servers.

Maybe this is the case here??

Regards,
Hakan Andersson






Ray Schafer <schafer@tkg.com>@tkg.com den 2000-06-15 21:34 GMT

Sänd svar till IBM NetView Discussion <nv-l@tkg.com>

Sänt av:  owner-nv-l@tkg.com


Till: IBM NetView Discussion <nv-l@tkg.com>
Kopia:


Alfred,

This is just too interesting.  You are probably right about fgets and
/etc/hosts.

How do you get this stack trace, and how do you know it's hung in those
routines?  When I run dbx, it stops the program and then I can look at the
trace, so all I get are snapshots.  Is this one such snapshot?

TKG has a nice tool called sctrace.  You could get a trial version that will
show you the last 30 system calls.  It shows more details than dbx does, and it
can show you the timings and arguments as well.  30 lines ain't much but it may
be all you need in this case.

http://www.tkg.com/sc

I think it is interesting that it works fine after you clear the snmpconf
cache.

Note that the stack trace gets to the ho_get* calles from
_OVsnmpConfLookupDestData.

I seem to recall that there were some issues with IPv6 and AIX 4.3 (maybe
4.3.2) that talk about using bind3 or some such.

I think you need some really good tracing tools for this problem.  Maybe not
clearing the cache will cause a bunch of host lookups to occur and that's what
is screwing you up.



--
Ray Schafer                   | schafer@tkg.com
The Kernel Group              | Distributed Systems Management
http://www.tkg.com



_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>
  • Ang: Re: netmon and /etc/hosts ?, Hakan . K . Andersson <=

Archive operated by Skills 1st Ltd

See also: The NetView Web