ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Hosts file location for Lenny?

To:
Subject: Re: [ts-7000] Re: Hosts file location for Lenny?
From: Jim Jackson <>
Date: Tue, 12 May 2009 22:08:22 +0100 (BST)


On Tue, 12 May 2009, lee.weihong wrote:

> --- In  "j.chitte" <> wrote:
>>
>> --- In  "lee.weihong" <lee.weihong@> wrote:
>>>
>>> Hi,
>>>
>>> I wanted to give the armel distro a try, and upon bootup I say this error 
>>> from apache2: "Starting web server: apache2apache2: Could not reliably 
>>> determine the server's fully qualified domain name, using 127.0.0.1 for 
>>> ServerName"
>>>
>>> So googling it reveals that I should add the localhost entry to the hosts 
>>> file. Unfortunately, where is the hosts file for this distro? I can't find 
>>> it inside /etc/hosts
>>>
>>
>> Neither can apache. Have you tried creating it?
>>
>
> Yes, tried creating it inside /etc. I even added the line "order 
> bind,hosts" inside /etc/host.conf, unfortunately it still does not read 
> from the file.

I would use

  order hosts,bind

Depending on your C lib, you may need to edit /etc/nsswitch.conf
There is usually a man page explaining whats needed, but

  hosts: files,dns

or just

  hosts: files

should work

>
> Is there a config file that specifies where the host file is located at?
>
> Regards,
> Wei Hong
>
>
>


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU