Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display drive driver drivers email error ethernet excel firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition problem router slow software sound trojan usb video virus vista windows windows xp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
etc/hosts ignored


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

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 12,689 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
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

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.


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 help people like you solve 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 -4. The time now is 03:38 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.