On 2006/10/19 at 12:50:47AM -0200, Gustavo Rios wrote: > Dear list members, > > i am setting a personal NIS server. At the momment; the output for the > command line is the following: > > # ypinit -m mojave > Server Type: MASTER Domain: mojave
[ ... ] > At this point, we have to construct a list of this domain's YP servers. > etosha is already known as master server. > Please continue to add any slave servers, one per line. When you are > done with the list, type a <control D>. > master server : etosha > next host to add: ^D > The current list of NIS servers looks like this: > > etosha So -- you added no slave servers. [ ... ] > etosha has been setup as an YP master server without any errors. > # make > ===> mojave > updated netid > yppush: could not get ypservers map > pushed netid > # > > > Ok, why the "yppush: could not get ypservers map" error message is > being echoed ? O.K. I'm not quite sure why the specific *wording* of the error message, but I don't see a need to run make here, which pushes updated maps to slave servers. Since you don't have any slave servers, why push? It may be that the ypservers map in this implementation strips off the master server automatically prior to trying to push -- and finding nothing left, it gives the above error message. The real question is whether it does what you want otherwise? Does it serve maps as it should? You could try "ypcat -k ypservers" to see what it put in that map. Maybe you should have not used the "quit on any errors" option. I normally don't use it. Granted, I've been running NIS servers only on Suns running SunOs and later Solaris -- not on OpenBSD, so there may be something different there -- but it should not be *too* different. I like the "ypinit -u" addition, which I see documented in OpenBSD 3.9. Hmm ... all the way back to 3.4 at least. That is nice -- because it is a pain to add more slave servers, or to remove them, from a running instance of yp under Solaris or SunOs. Enjoy, DoN. -- Email: <[EMAIL PROTECTED]> | Voice (all times): (703) 938-4564 (too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html --- Black Holes are where God is dividing by zero ---