[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Condor-users] linux configuration....



I'm assuming that the /etc/hosts files you showed us is NOT for
lserver5, but another machine you want to connect to lserver5 --
correct? I'm guessing that it's the /etc/hosts file for lserver7
actually. The mistake is that you have lserver5 mapped to the internal
loopback address on your machine. So a ping to lserver5 is being routed
to 127.0.0.1. So you're pinging yourself but not realizing it.

You need to get lserver5 off the 127.0.0.1 line in your /etc/hosts file.
Instead, it should be on it's own line with it's true IP address. If
lserver5 has the IP address of 192.168.1.55 then your /etc/hosts file
for this machine should look like:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.1.57            lserver7
192.168.1.55            lserver5

Are you not running DNS at your site? You're going to have to keep a lot
of /etc/hosts files up to date by hand if you aren't running DNS and you
want more than one or two machines to interact via hostnames instead of
IP addresses.

Ian


> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx 
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of bruce
> Sent: October 7, 2004 11:38 AM
> To: 'Condor-Users Mail List'
> Subject: [Condor-users] linux configuration....
> 
> 
> hi...
> 
> 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@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!!!!!!!
> 
> thanks...
> 
> -bruce
> 
> 
> 
> 
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx 
> http://lists.cs.wisc.edu/mailman/listinfo/condor-users
>