A couple of days ago I sent out this plea:
> I have started getting a strange message when I try to update
>our aliases map in NIS. This is what happens when I touch
>/etc/aliases and then to a make in /var/yp:
>
>mulga:/var/yp: make
>703 aliases, longest 546 bytes, 27627 bytes total
>/usr/etc/yp/mkalias /var/yp/`domainname`/mail.aliases /var/yp/`domainname`/mail.byaddr;
>rm /var/yp/`domainname`/mail.aliases;
>updated aliases
>Can't bind master to send ypclear message to ypserv for map mail.aliases.
>
>
>This machine is the NIS master. I have tried doing a ypinit -m
>multiple times but to no avail. If I try to ypcat the aliases map the
>machine says the map does not exist. The mail.aliases* dbm files are
>in the /var/yp/xxxx directory and I can use makedbm -u to read the
>data to it appears they are not corrupted. Has anyone any ideas as to
>what may be wrong?
>
>BTW I did try cutting down the aliases file to a very small one and
>the same error occurs.
>
>The NIS master is a Sun Sparc 2 running SunOS 4.1.3 with quite a few
>patches.
>
Many thanks for those who replied - I have found the culprit but
cannot seem to get it fixed. The correct answer is that my NIS master
was bound to a slave that had lost the plot alias-wise. I rebound my
master to itself and suddenly all was well with the aliases map. I
tried clearing the problem on the particular slave but no matter what
I do it does not seem to want to know about the mail.aliases maps
(only this map - all others are transferred ok). I suppose I should
mention that the real problem child is a Solaris 2 box running a
patched version of the NIS transition kit.
Other suggestions were:
- I had a -v option in the makedbm command (nope)
Many thanks to these people for their suggestions:
Glenn.Satchell@uniq.com.au (Glenn Satchell - Uniq Professional Services)
paulo@parana.dcc.unicamp.br (Paulo Licio de Geus)
Claus Assmann <ca@informatik.uni-kiel.de>
"Richard Wong" <rnw@math.Princeton.EDU>
"Susan Thielen" <thielen@irus.rri.uwo.ca>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT