Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor network networking outlook problem processor ram recovery router safe mode slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
etc/hosts ignored

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
URA's Avatar
URA URA is offline
Junior Member with 3 posts.
 
Join Date: Oct 2003
21-Oct-2003, 06:33 PM #1
etc/hosts ignored
On Redhat 9 system, ping does not resolve names using hosts file.
Ping localhost returns - unknown host.
127.0.0.1 localhost is first line in etc/hosts.
added all: all to hosts.allow but no joy.
can someone please point me in right direction
Squashman's Avatar
Distinguished Member with 14,983 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
22-Oct-2003, 02:30 AM #2
Can you ping IP addresses or the localhost ip.

Also wondering if you can ping domain names on the internet.
URA's Avatar
URA URA is offline
Junior Member with 3 posts.
 
Join Date: Oct 2003
23-Oct-2003, 01:34 PM #3
DNS names resolved OK.
Found an entry in nsswitch.conf that regulates whether the hosts file is used.
added ' hosts: files dns' and problem was resolved.
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
24-Oct-2003, 05:36 AM #4
We have an answer!
Now contact a mod to have this puppy marked as RESOLVED
Welcome to TSG URA
lynch
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:13 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.