Computing.Net > Forums > Solaris > cannot ping by name

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

cannot ping by name

Reply to Message Icon

Name: Jimmy
Date: May 5, 2002 at 00:13:19 Pacific
Comment:

hello
hope fine
I have installed solaris 8 in my network and also installed NIS+ on it but when the NIS+ server reboot It ping with the IP address but not ping by the name
I added the names and ip addresses in the
/etc/hosts file but still the error
i-e
unknown host
any suggestion
thanx in advance



Sponsored Link
Ads by Google

Response Number 1
Name: PaulS
Date: May 5, 2002 at 08:00:36 Pacific
Reply:

You do understand that when you chose to run NIS+ your system is consulting NIS+ tables for information and not ascii files. My guess is that you simply added the entry to the /etc/hosts file, but that is not what NIS+ is looking at.

See if the entry is in the table:

# niscat -h hosts.[your NIS+ domain]

if not, add it.


0

Response Number 2
Name: solaris65
Date: May 8, 2002 at 18:13:02 Pacific
Reply:

Make sure you have copied the /etc/nsswitch.nisplus file over to the /etc/nsswitch.conf.

This tells you also the order in which it will do it's search (i.e. files, nis, nisplus...)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: cannot ping by name

cannot ping/solaris 9 www.computing.net/answers/solaris/cannot-pingsolaris-9/3053.html

cannot ping www.computing.net/answers/solaris/cannot-ping/549.html

DNS PROBLEMS!!! www.computing.net/answers/solaris/dns-problems/827.html