View Single Post

   
  #4 (permalink)  
Old 01-16-2008, 11:34 AM
Tim Bradshaw
 
Posts: n/a
Default Re: ping hostname failed while ping IP_Address working

On Aug 1, 7:37 pm, Salman <hudamus...@gmail.com> wrote:
> BismillahirRehmanirRahim
>
> Hi Admins,
>
> i am facing a strange problem in one of our SunFire v215 Servers.
>
> the ping to the hostname of the Server and ping to the hostname of any
> other server in /etc/hosts fail.


What does

getent hosts hostname

print for one of the hosts of interest? If it does not print the IP
address then you have a name resolution problem. Look at /etc/
nsswitch.conf to see what it is.


Reply With Quote