Unable to resolve localhost
Micheal
sundance at sundanceloki.com
Tue Nov 2 02:23:30 UTC 2004
On Mon, 2004-11-01 at 20:17, Shawn Kovalchick wrote:
> I'm trying to set up a postgresql server on FC2, and it seems that the server
> is unable to look up 127.0.0.1. Further investigation shows that dig
> is unable to return anything for localhost or a reverse lookup for
> 127.0.0.1. /etc/hosts has an entry for 127.0.0.1 pointing to
> localhost and localhost.localdomain. Am I missing something?
>
> Relevant sections of configuration files follow:
>
> /etc/nsswitch.conf contains this line:
> hosts: files dns
>
> /etc/hosts contains:
> 127.0.0.1 localhost localhost.localdomain
>
> I apologize if this has been double posted, it appears that the
> initial post didn't take, as I was not yet signed up on the list.
What does the out put of
/sbin/ifconfig lo
give?
MC
More information about the users
mailing list