more tru64 5.1A NIS problem

From: Dirk Kleinhesselink (dkleinh@phy.ucsf.edu)
Date: Fri May 23 2003 - 12:16:09 EDT


Yesterday I'd submitted a post regarding a problem I'm having with NIS on
a Tru64 5.1A cluster system. My original problem was that I would get
the following error when updating NIS files on my master (and only NIS
server):

updated netgroup
cant bind to master for keck-center hosts.byname no such map in server's
domain will use slave copy!
Status received from ypxfr on keckcenter:
        Map successfully transferred, but ypxfr couldn't send "Clear
map" to ypserv

I don't use the NIS hosts map, but I did create an empty hosts file in my
/var/yp/src directory because I'd read that would eliminate that error,
but it did not. I do not have any NIS slaves, but I believe the problems
began when I tried to configure an NIS slave on a linux machine but it did
not work, so I wanted to return to just the single NIS (master) server.

I had one reply from someone, directing me to the man page for
manual_nis_setup. I decided to try to remove the ypservers map that I had
been created when I was trying to add a slave server and so I removed the
ypservers.pag and ypservers.dir files in my /var/yp/keck-center/ maps
directory. I then created an empty one using:
/var/yp/makedbm - /var/yp/keck-center/ypservers
<Ctrl/d>

Now, however, I am getting the following problem when I run "make" to
update my NIS maps:

# make
updated passwd
cant bind to master for keck-center hosts.byname no such map in server's
domain will use slave copy!
Can't build server list from map "ypservers". Reason: no more records in
map database.
cant bind to master for keck-center hosts.byname no such map in server's
domain will use slave copy!
Can't build server list from map "ypservers". Reason: no more records in
map database.
pushed passwd

I added a new user and if I run: ypcat passwd | grep <user>
I can find the record for them, but if I do: finger <user>

I get the message:
Login name: <user> In real life: ???

My tru64 5.1A cluster has 2 members. I've also tried re-making the
ypservers file with the names of my 2 cluster members and the cluster
alias and I am still getting the error.

Any help ?

Thanks,

Dirk

Dirk Kleinhesselink
System and Network Administrator
Keck Center for Integrative Neuroscience
University of California, San Francisco



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:19 EDT