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/
|