LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-08-12 20:44:05


On Tue, 12 Aug 2003, wazha mongwa wrote:

> [snipped]
> n0<1519> ssi:boot:rsh: found the following hosts:
> n0<1519> ssi:boot:rsh: n0 master (cpu=1)
> n0<1519> ssi:boot:rsh: n1 tigger (cpu=1)
> -----------------------------------------------------------------------------
> Could not resolve the hostname "tigger" that was in the host file.
>
> Things to check:
>
> - is "tigger" in /etc/hosts?
> try "grep tigger /etc/hosts"
> - is "tigger" resolvable by DNS (or some other naming service)?
> try "ping tigger" or "nslookup tigger" or "dig tigger"
> -----------------------------------------------------------------------------
> [lam_at_jose lam]$ cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 192.168.1.1 master
> 192.168.1.2 lion
> 192.168.1.3 tigger
> [snipped]

What is happening is that the gethostbyname(3) library call is failing.
This can be for a variety of reasons -- you might want to check your
nsswitch.conf file, for example.

In a worse case scenario, you can use the IP address for tigger instead of
the name.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/