[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
>       localhost       localhost.localdomain   localhost4
> localhost4.localdomain4
> ::1     localhost       localhost.localdomain   localhost6
> localhost6.localdomain6
>       localhost.localdomain   localhost
> ::1     localhost6.localdomain6 localhost6

So firstly you have two lines each for and ::1; and secondly,
"localhsot" and "localhost.localdomain" is on both.	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.:


After changing this, do

hostname $(cat /etc/hostname)

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

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.