/etc/nsswitch.conf was definitely the problem.  I got it fixed.
Thanks for the help...

On 5/14/07, Zsolt Udvari <[EMAIL PROTECTED]> wrote:
> Yes, the problem is the bad nsswitch.conf.
> I had similar problem ;)
>
> Zsolt
>
> 2007/5/14, Dan Nicholson <[EMAIL PROTECTED]>:
> > On 5/14/07, Jordan Bray <[EMAIL PROTECTED]> wrote:
> > > I've given up trying to solve this one alone... I have my /etc/hosts
> > > file set up properly, I have loopback support working fine (ping
> > > 127.0.0.1 works) and I have networking support working (ping
> > > google.com works).  But, for some reason, ping localhost fails.
> > > localhost is in the /etc/hosts file with 127.0.0.1 as the ip address.
> >
> > First, could you show /etc/hosts (at least the 127.0.0.1 entry)?
> > Second, what do you have in /etc/nsswitch.conf for the hosts entry?
> > Should be:
> >
> > hosts: files dns
> >
> > Also, what's the output of "getent hosts localhost"?
> >
> > --
> > Dan
> > --
> > http://linuxfromscratch.org/mailman/listinfo/blfs-support
> > FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> > Unsubscribe: See the above information page
> >
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to