[mpich-discuss] how to change the /etc/hosts file ----for mpdcheck's report

xu yuehua njuxuyuehua at gmail.com
Sun May 30 20:08:15 CDT 2010


hello everyone here:

i am a newer here, and i have some problem to start mpd on one of my
node,i.e. node1,
and other nodes are well done.

the mpdchecke on node1 is
 yhxu@#node1:~> mpdcheck -l

    **********
    The system call gethostbyname(3) failed to resolve your
    unqualified hostname, or $uqhn. This can be caused by
    missing info from your /etc/hosts file or your system not
    having correctly configured name resolvers, or by your IP
    address not existing in resolution services.
    If you run DNS, you may wish to make sure that your
    DNS server has the correct forward A set up for yout machine's
    hostname. If you are not using DNS and are only using hosts
    files, please check that a line similar to the one below exists
    in your /etc/hosts file:
$ipaddr $uqdn
    If you plan to use DNS but you are not sure that it is
    correctly configured, please check that the file /etc/resolv.conf
    contains entries similar to the following:
nameserver 1.2.3.4
    where 1.2.3.4 is an actual IP of one of your nameservers.
    **********


    **********
    The system call gethostbyname(3) failed to resolve your
    fully qualified hostname, or $fqhn. This can be caused by
    missing info from your /etc/hosts file or your system not
    having correctly configured name resolvers, or by your IP
    address not existing in resolution services.
    If you run DNS, please check and make sure that your
    DNS server has the correct forward A record set up for yout
    machine's hostname. If you are not using DNS and are only using
    hosts files, please check that a line similar to the one below
    exists in your /etc/hosts file:
$ipaddr $fqhn
    If you intend to use DNS but you are not sure that it is
    correctly configured, please check that the file /etc/resolv.conf
    contains entries similar to the following:
nameserver 1.2.3.4
    where 1.2.3.4 is an actual IP of one of your nameservers.
    **********

and the /etc/hosts :

 hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost
192.168.1.2     node2
192.168.1.3     node3
192.168.1.4     node4
192.168.1.5     node5
192.168.1.6     node6
192.168.1.7     node7
192.168.1.8     node8
192.168.1.9     node9
192.168.1.10    node10
192.168.1.11    node11
192.168.1.12    node12
192.168.1.13    node13
192.168.1.14    node14
192.168.1.15    node15
192.168.1.1     node1
10.30.13.3      nano.nju.edu.cn

and the /ete/resolve.conf

---------------------------resolve.conf------------------
~  nameserver 202.120.190.208

please help me to have a look at the hosts, how to change the context in
above files,

thank you very much !!


cheers
Yuehua Xu



i know  the problem is in this fii


-- 
Yuehua Xu
Group of Computational Condensed Matter Physics,
National Laboratory of Solid State Microstructures and Department of
Physics,
Nanjing University,
Nanjing 210093,
P. R. China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100531/d2d60708/attachment.htm>


More information about the mpich-discuss mailing list