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

Re: [Condor-users] condor_master dying in 7.6.9



On Sat, Aug 18, 2012 at 05:45:35PM +0100, Roderick Johnstone wrote:
> $ grep -i localhost /etc/hosts
> 127.0.0.1       localhost       localhost.localdomain   localhost4
> localhost4.localdomain4
> ::1     localhost       localhost.localdomain   localhost6
> localhost6.localdomain6
> 127.0.0.1       localhost.localdomain   localhost
> ::1     localhost6.localdomain6 localhost6

So firstly you have two lines each for 127.0.0.1 and ::1; and secondly,
"localhsot" and "localhost.localdomain" is on both.

127.0.0.1	localhost.localdomain localhost localhost4.localdomain localkhost4
::1		localhost6.localdomain localhost6

But it's odd anyway that Condor is trying to use these. Possibly the
hostname in /etc/hostname is wrong.

You should have /etc/hostname containing a fully-qualified domain name, e.g.:

pc1.mydomain.com

After changing this, do

hostname $(cat /etc/hostname)

Then you should ensure you have an entry in /etc/hosts with your interface
IP:

x.x.x.x  pc1.mydomain.com pc1

Unless you already have external DNS set up properly, with forward DNS
mappping pc1.domain.com to x.x.x.x, and reverse DNS mapping x.x.x.x to
pc1.mydomain.com, in which case the hosts entry is not required.

Regards,

Brian.