Mailing List Archive

Support open source code!


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

Re: Apache fails to start under RH7.1



On Mon, Jul 16, 2001 at 09:28:54AM -0000, Jean-Christian Imbeault wrote:
> 
> >No.  /etc/hosts is part of the DNS system.  /etc/hostname is something 
> >else.
> 
> Hum . . . no file called hostname on my system then. Is that a Bad 
> Thing[tm]?

Not if you are using RH. Basically try:

# hostname your_hostname
(update the in memory info)

# vi /etc/hosts
(more sure it looks something like...)
127.0.0.1		localhost.localdomain localhost
your_ip        your_hostname.your_domain your_hostname

# vi /etc/sysconfig/network
(update the HOSTNAME line, this is the equivalent of /etc/hostname on
 other systems.)
HOSTNAME=your_hostname

No need to reboot, but if you want to check it, it should work now.

with a bit of luck :)

Tom.
-- 
Thomas O'Dowd. - Nooping - http://nooper.com
tom@example.com - Testing - http://nooper.co.jp/labs


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links