[CentOS] NIS/YP revelation (I think)

James Pearson james-p at moving-picture.com
Wed Oct 24 15:49:10 UTC 2007

Scott Ehrlich wrote:
> On Wed, 24 Oct 2007, James Pearson wrote:
>> Scott Ehrlich wrote:
>>> I did discover tcpdump produces an ICMP host <hostname> unreachable 
>>> error during ypbind, but does NOT do so when ypbind is not running.
>>> I also was reminded the firewall on the server is running, but I had 
>>> these exact problems when the firewall was disabled.
>>> Trying to track down the problem via google, and am open to any 
>>> responses people have here...
>> What does your /etc/nsswitch.conf file contain?
> #/etc/nsswitch.conf
> passwd:     files nis
> shadow:     files nis
> group:      files nis

What's the entry for hosts?

> I also was reminded to perform ypinit -s server and was reminded again 
> of the Can't enumerate maps error.  ypinit -m on the server has been 
> performed numerous times, but still nothing...

'ypinit -s server' is only needed for slave servers.

James Pearson

More information about the CentOS mailing list