i m getting the error unknown host while im pinging with the host name
dear friends
i have two linux system i m able to ping from one system to other system by both name and ip but in other system i m not able to ping with hostname i m getting the message unknown host i m able to ping with ip address i have checked the /etc/hosts /etc/sysconfig/network /etc/sysconfig/network-scrips/ifcfg-eth0 i will appreciate ur reply gunjan |
Have you checked /etc/nsswitch.conf? Make sure you have a line that looks like this:
hosts: files If you do, then verify /etc/hosts and make sure you have no typos. If you can ping by IP address, you should be able to ping by hostname. |
hi frnd
i tried with the option of nsswitch.conf and it worked thank you so much bye thanx again |
All times are GMT -5. The time now is 10:31 AM. |