Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Please Help!
- Date: Fri, 13 Mar 2009 11:35:24 -0500
- From: Dimitri Maziuk <dmaziuk@xxxxxxxxxxxxx>
- Subject: Re: [Condor-users] Please Help!
On Friday 13 March 2009 11:05:50 David Brodbeck wrote:
> On Mar 13, 2009, at 5:04 AM, Alain Roy wrote:
> > My best guess from your hostname is that you are not using DNS, and
> > your /etc/hosts file is not configured correctly.
>
> RedHat by default sets up the /etc/hosts file with the machine's
> hostname associated with 127.0.0.1. I've always had to change this to
> put the hostname on the same line as the machine's "real" IP address
> to get Condor to work properly.
>
> Another thing to check is /etc/sysconfig/network. The "HOSTNAME" line
> in this file is where RedHat gets its idea of what its hostname is.
RedHat's network config's been broken since always. "Master" files are
in /etc/sysconfig/networking/profiles/default and they're hard(!) linked to
the files that are actually used.
If you have to edit any of these files, use vi. Do not use any text editor
that makes backup copies on save, that'll break the links.
To check if hardlinks are ok, run "ls -i" on the two files: it should report
the same inode number for both. If not, delete the other file and re-create
with ln or system-config-network.
Files:
/etc/hosts is actually /etc/sysconfig/networking/profiles/hosts -- it usually
has machine's hostname associated with 127.0.0.1 as above,
/etc/resolv.conf is
actually /etc/sysconfig/networking/profiles/default/resolv.conf -- check if
nameservers and your domain name listed there are ok,
/etc/sysconfig/network is
actually /etc/sysconfig/networking/profiles/default/network -- see above,
/etc/sysconfig/networking/devices/ifcfg-eth0 is
actually /etc/sysconfig/networking/profiles/default/ifcfg-eth0 -- check
hostname, ip address, etc. in the file.
You can also use system-config-network to fix #2 and #3, but not #1 -- that
you'll have to do with vi.
You may need to restart condor after making any changes to clear its cached
dns info.
Dima
--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu