ifconfig lo lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2503 errors:0 dropped:0 overruns:0 frame:0 TX packets:2503 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2402682 (2.2 Mb) TX bytes:2402682 (2.2 Mb)
On Mon, 01 Nov 2004 20:23:30 -0600, Micheal sundance@sundanceloki.com wrote:
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