It's working now. I'm not entirely sure what fixed the problem, though.
Thanks for sound advice to:
email@example.com "Jerome A Joseph"
firstname.lastname@example.org "Joel Lee"
email@example.com "James P. Eddinger"
firstname.lastname@example.org "Jim Harmon"
I verified that all the appropriate daemons were working: ypbind everywhere,
ypserv on all the servers, ypxfrd on the master. No problem there. The makefile
is unmodified, as it came from the CD. The master /etc/hosts was complete;
otherwise ypinit would have failed.
>From one of the slaves I did "ypxfr netgroup" in the desperate hope that
it might unclog something in the system. I based this on something Jerome
Then I went back to the master and did "yppush -h <hostname> netgroup"
for each of the slaves. To my surprise, it worked for all of them.
Then I got bold and ran make in /var/yp. It pushed all the changed maps
right away, just the way it's supposed to work. I'm happy now.
After sending off that message, I was afflicted with another weird problem.
I'm not sure what was going on, but I think it's fixed now, too.
The new NIS master is also an NFS file server. As part of the recommended
NIS installation procedure, I copied nsswitch.files into nsswitch.conf.
>From then on, the server seemed to lose track of the netgroup I use to
control access to the filesystems. All NFS mounts from that machine had
permission denied. Finally I put back my old nsswitch.conf, which uses
both files and nis. After a reboot, NFS started working again. NIS seems
to be still working. I'm crossing my fingers. nsswitch.files contains the
following comment, which is obscure to me. What does it mean?
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
> After converting most of my Suns to Solaris 2.5.1, I decided to move NIS services
> to them. I installed NSkit 1.2 on the machines that I want to be servers,
> created a new domain name, set up the files on the master, and let it rip.
> It works almost completely. The clients can see all the maps. When I created
> the slave servers, they downloaded the maps from the master. Changes on the
> master are seen instanly on the clients.
> However, there's one bug. When I run 'make' in /var/yp on the master, it
> can't push the maps to the slaves. For instance:
> server[root]: make
> updated netgroup
> And it's been sitting like that for about 10 minutes. This is running:
> root 5279 5277 0 11:19:43 pts/1 0:00 /usr/lib/netsvc/yp/yppush \
> -d mydomain netgroup
> Running truss on that process shows that it's sleeping.
> (Yes, the domain name is correct. Names changed to protect the paranoid.)
> What could it be?
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:29 CDT