Xserver,postgres problems after hostname change.

Satish Balay balay at fastmail.fm
Sat Dec 18 14:52:35 UTC 2004


On Sat, 18 Dec 2004, Kim Lux wrote:

> I changed the hostname on our server and now I've got a few issues.
> 
> 
> Specifically, I changed the following two files: 
> 
> /etc/hosts:
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1	server.localdomain	server

Well you removed 'localhost' entry - which is a no-no.

Use:

127.0.0.1       localhost.localdomain   localhost
127.0.0.1       server.localdomain      server


> HOSTNAME=server.localdomain

I would just use 'server' instead of 'server.localdomain'

Satish




More information about the fedora-list mailing list