NIS Slave q's
Robert Dege
rdege at cse.Buffalo.EDU
Thu Sep 13 11:15:30 EDT 2001
I figured out the problem... thanks for the reply though. The thing is
that the master server MUST be listed in the /etc/hosts file. Even if you
can see it via DNS, ypinit will crash unless this is set. Must be minor
(or new feature), since they failed to explicity mention this in the HOWTO.
-Rob
> I think you might have to add the server to /var/yp/ypservers and rebuild the
> maps before a server is allowed to connect. I don't remember if the ypservers
> map is rebuilt as part of the Makefile or not.
>
> Hope this helps...
>
> Cheers!
> Bob
>
> --- Robert Dege <rdege at cse.Buffalo.EDU> wrote:
> >
> >
> > I'm trying to setup a master/slave NIS. I was able to setup a master NIS
> > slave with no problem.... it works beautifully.
> >
> > But for some reason, when I try to make an NIS slave machine, I keep on
> > getting the following error:
> >
> > (main is the name of my nis master server)
> >
> > # ypinit -s main
> > Can't enumerate maps from main. Please check that it is running.
> >
> >
> > I can do a ypwhich & get main. I can even do ypwhich -m & get all the
> > available maps. Anyobdy have some advise? BTW, this is on RedHat 6.2,
> > Alpha. I'm using the latest sources available at ftp.kernel.org (ypserv,
> > yp-tool, and ypbind).
> >
> >
> > Dege
> >
> > Inside some of us is a thin person struggling to get out, but
> > they can usually be sedated with a few pieces of chocolate cake.
> >
>
>
> =====
> Bob Meyer
> Knightwing Communications, Inc.
> 36 Cayuga Blvd
> Depew, NY 14043
> Phone: 716-308-8931 or 716-681-0076
> Meyer_RM at Yahoo.com
>
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
>
Dege
Inside some of us is a thin person struggling to get out, but
they can usually be sedated with a few pieces of chocolate cake.
More information about the nflug
mailing list