On Sat, 2001-12-01 at 14:14, James Spinti wrote: Make sure the portmap daemon is running. > I am trying to set up NIS on my home network. When I run ypinit -m I get > the following error messages: > failed to send 'clear' to local ypserv: RPC: Program not registeredfailed to > send 'clear' to local ypserv: RPC: Program not registeredyphelper: This > program is for internal use from some > ypserv scripts and should never be called > from a terminal > failed to send 'clear' to local ypserv: RPC: Program not registeredyphelper: > This program is for internal use from some > ypserv scripts and should never be called > from a terminal > failed to send 'clear' to local ypserv: RPC: Program not registeredfailed to > send 'clear' to local ypserv: RPC: Program not registeredfailed to send > 'clear' to local ypserv: RPC: Program not registeredfailed to send 'clear' > to local ypserv: RPC: Program not registeredfailed to send 'clear' to local > ypserv: RPC: Program not registeredfailed to send 'clear' to local ypserv: > RPC: Program not registeredfailed to send 'clear' to local ypserv: RPC: > Program not registeredfailed to send 'clear' to local ypserv: RPC: Program > not registeredfailed to send 'clear' to local ypserv: RPC: Program not > registeredmakedbm: Cannot open /var/yp/spinti/netgroup > gmake[1]: *** [netgroup] Error 1 > make: *** [target] Error 2 > gawk: cmd. line:2: fatal: error reading input file `-': Input/output error > > A little history on the machine might help: > It began as a 486 running RedHat 5.2 and served as my PDC. I upgraded samba > for a while and then upgraded to RH 6.0. I then changed the motherboard to > a P166 and upgraded to 6.2. I installed the following packages for NIS: > yp-tools 2.4 > ypbind 1.7 is in /usr/sbin and in /etc/rc.d/init.d > ypserv 1.3.9 is in /usr/sbin and in /etc/rc.d/init.d > make 3.78 (never had it in the original install) > > The machine only has 16 MB or RAM, so I cannot install RH 7.x. > > I attached the print out from the ypinit -m command > > Thanks, > > James Spinti > jspinti at dartdist.com > 952-368-3278 x396 > fax 952-368-3255 > ---- > > > At this point, we have to construct a list of the hosts which will run NIS > servers. 486.spinti is in the list of NIS server hosts. Please continue to add > the names for the other hosts, one per line. When you are done with the > list, type a <control D>. > next host to add: 486.spinti > next host to add: > The current list of NIS servers looks like this: > > 486.spinti > > Is this correct? [y/n: y] We need some minutes to build the databases... > Building /var/yp/spinti/ypservers... > Running /var/yp/Makefile... > gmake[1]: Entering directory `/var/yp/spinti' > Updating passwd.byname... > Updating passwd.byuid... > Updating group.byname... > Updating group.bygid... > Updating hosts.byname... > Updating hosts.byaddr... > Updating rpc.byname... > Updating rpc.bynumber... > Updating services.byname... > Updating netid.byname... > Updating protocols.bynumber... > Updating protocols.byname... > Updating netgroup... > gmake[1]: Leaving directory `/var/yp/spinti' > Error running Makefile. > Please try it by hand. > > 486.spinti has been set up as a NIS master server. > > Now you can run ypinit -s 486.spinti on all slave server. -- Ben Lutgens System Administrator Sistina Software Inc. "If you love someone, set them free. If they come home, set them on fire." - George Carlin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20011201/5b22fce4/attachment.pgp