need help/understanding with /etc/hosts.....
bruce
bedouglas at earthlink.net
Thu Oct 7 16:05:34 UTC 2004
hi...
i'm trying to install an app 'condor' which communicates betwen machines.
i've got it on two test machines linux (rh8.0), but the app seems to be
having a problem in communicating with each other...
i can 'see' each box from the other box by pinging the respective boxes.
however, i'm getting some form of warning that appears to point to the
/etc/hosts file. can someone tell me what/how the /etc/hosts file is
supposed to be.. and what the problem might be with my version, as well as
how it might be corrected.
for the purpose of this test, i don't have 'iptables' running.. so all the
required ports for the app are wide open...
thanks for any help/assistance as this is critical for me to make
progress....
-bruce
--------------------------------------------------------
application information...
i have managed to get condor up/running on two linux boxes. however, when i
attempt to do a 'condor_status' on the 'central manager' it shows only one
machine. an examination of the /home/condor/log/CollectorLog file shows a
warning refering to the /etc/host file.
it appears that the 2nd machine is not able to 'see' the 'central manager'
condor...
10/7 07:54:19 ** condor_collector (CONDOR_COLLECTOR) STARTING UP
10/7 07:54:19 ** /opt/condor-6.6.6/sbin/condor_collector
10/7 07:54:19 ** $CondorVersion: 6.6.6 Jul 26 2004 $
10/7 07:54:19 ** $CondorPlatform: I386-LINUX_RH9 $
10/7 07:54:19 ** PID = 1428
10/7 07:54:19 ******************************************************
10/7 07:54:19 Using config file: /opt/condor-6.6.6/etc/condor_config
10/7 07:54:19 Using local config files: /home/condor/condor_config.local
10/7 07:54:19 DaemonCore: Command Socket at <127.0.0.1:9618>
10/7 07:54:19 WARNING: Condor is running on the loopback address (127.0.0.1)
10/7 07:54:19 of this machine, and is not visible to other hosts!
10/7 07:54:19 This may be due to a misconfigured /etc/hosts file.
10/7 07:54:19 Please make sure your hostname is not listed on the
10/7 07:54:19 same line as localhost in /etc/hosts.
10/7 07:54:19 In ViewServer::Init()
10/7 07:54:19 In CollectorDaemon::Init()
10/7 07:54:19 In ViewServer::Config()
10/7 07:54:19 In CollectorDaemon::Config()
10/7 07:54:19 enable: Creating stats hash table
10/7 07:54:19 (Sent 0 ads in response to query)
10/7 07:54:19 Got QUERY_STARTD_PVT_ADS
10/7 07:54:19 (Sent 0 ads in response to query)
10/7 07:54:20 WARNING: No master ad for < localhost.localdomain >
10/7 07:54:20 ScheddAd : Inserting ** "< localhost.localdomain ,
127.0.0.1 >"
10/7 07:54:20 stats: Inserting new hashent for
'Schedd':'localhost.localdomain':'127.0.0.1'
10/7 07:54:24 ** Master < localhost.localdomain > rejuvenated from recently
down
10/7 07:54:24 stats: Inserting new hashent for
'Master':'localhost.localdomain':'127.0.0.1'
10/7 07:54:32 StartdAd : Inserting ** "< localhost.localdomain ,
127.0.0.1 >"
10/7 07:54:32 stats: Inserting new hashent for
'Start':'localhost.localdomain':'127.0.0.1'
10/7 07:54:32 StartdPvtAd : Inserting ** "< localhost.localdomain ,
127.0.0.1 >"
10/7 07:54:32 stats: Inserting new hashent for
'StartdPvt':'localhost.localdomain':'127.0.0.1'
------------------------
the /etc/hosts file is:
[root at lserver5 etc]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 lserver5 localhost.localdomain localhost
192.168.1.57 lserver7
is there something that i should do to the /etc/hosts file. why am i able to
ping/access the 'central manager' machine (lserver5) from the client machine
(lserver2) by simply 'ping lserver5'....
i can provide the relevant portion of the 'condor_config' file if needed.
i'm really at a loss as to how to proceed!!!!!!!
More information about the redhat-list
mailing list