Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Apache fails to start under RH7.1
- To: tlug@example.com
- Subject: Re: Apache fails to start under RH7.1
- From: Jake Morrison <jake_morrison@example.com>
- Date: Mon, 16 Jul 2001 04:27:56 -0700 (PDT)
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: tlug@example.com
- In-Reply-To: <F84kkZIhTrBoe2U8QVj00009c11@example.com>
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <jake_morrison@example.com>
- Reply-To: Jacob.Morrison@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <YDjHkB.A.B6G.m-sU7@example.com>
- Resent-Sender: tlug-request@example.com
Jc, The purpose of /etc/hosts is to get an IP address, given a hostname. This is the same basic function as DNS. DNS can also do some other fancy things like use MX records to tell where mail should go. Having the hostname in /etc/hosts gives you a fallback in case DNS is unreachable. And of course, some sites don't use DNS at all, keeping all the host/ip address mappings in /etc/hosts. The entry in /etc/sysconfig/network tells the host what its name is. Jake --- Jean-Christian Imbeault <jean_christian@example.com> wrote: > >Not if you are using RH. Basically try: > > > ># hostname your_hostname > >(update the in memory info) > > Ok. > > ># vi /etc/hosts > >(more sure it looks something like...) > >127.0.0.1 localhost.localdomain localhost > >your_ip your_hostname.your_domain your_hostname > > And if I don't have a your_hostname.your_domain your_hostname? Can I > just add the ip? > > ># vi /etc/sysconfig/network > >(update the HOSTNAME line, this is the equivalent of > >/etc/hostname on other systems.) > >HOSTNAME=your_hostname > > Ok. Will try that tomorrow and see what happens! > > BTW why is a hostname required in both places? What is the > functionality of the different files? > > >No need to reboot, but if you want to check it, it should work now. > >with a bit of luck :) > > Luck is always a Good Thing. > > Jc __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
- References:
- Re: Apache fails to start under RH7.1
- From: "Jean-Christian Imbeault" <jean_christian@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Apache fails to start under RH7.1
- Next by Date: Re: Apache fails to start under RH7.1
- Prev by thread: Re: Apache fails to start under RH7.1
- Next by thread: Re: Apache fails to start under RH7.1
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links