[OpenAFS] Error Setting up Server: problem with host name

Derrick J Brashear Derrick J Brashear <shadow@dementia.org>
Tue, 12 Feb 2002 16:10:41 -0500 (EST)


On Tue, 12 Feb 2002, Victor wrote:

> > does the hostname match what's in dns? does the hostname match what's in
> > /etc/hosts? is there a bogus "localhost" entry in /etc/hosts?
> 
> No. There is no dns entry. Yep, it was the localhost line. I had the
> hostname for machine there too. For some reason, it blew everything up
> 
> 127.0.0.1     test localhost localhost.localdomain
> 192.168.1.200 test.domain.com test
> 
> And that didn't work. Removing test from 127.0.0.1 seemed to fix the issue.
> I don't see why it was wrong before. Hmm, well, lets see how the next few
> things go

make the line read only:
127.0.0.1 localhost

(what does hostname return if you run it at a prompt, btw?)