[Triumf-linux-managers] SL5 authconfig nis/dns misconfiguration
Brian Leathem
bleathem at triumf.ca
Fri Nov 21 12:30:54 PST 2008
Konstantin Olchanski wrote:
> On our SL5 machines I was seeing problems with DNS - programs
> being stuck inside gethostbyname(), with stack trace indicating they
> were doing something inside the NIS code. Very odd.
>
> [...]
>
> To correct this problem you can edit /etc/nsswitch.conf to
> read "hosts: files dns" or run this sed script
The Java processes on one of our servers was throwing
UnknownHostException exceptions. To prevent the error, I put the host
in /etc/hosts (in this case it was a host for ldap lookups). The
/etc/nsswitch.cong file already reads "hosts: files dns", so maybe this
is a different issue.
Brian
More information about the Triumf-linux-managers
mailing list