Hello again. I'm setting up a linux domain using NIS, I've run into a few
problems installing the nis server. Its running on a Debian 2.2r4 machine
and the ypserv ver is "ypserv - NYS YP Server version 1.3.11 (with
securenets)" It installs fine using dselect but when I configure it as per
the debian-nis-howto or the nis-howto it gives me errors at the
/usr/lib/yp/ypinit -m stage. when I run that it asks for the servers then it
bombs out with errors (see below) I've tried installing and purging several
times and it's always the same. Does anyone have any ideas or a location for
more docs?
Output of the command:
debian-desk:/var# /usr/lib/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. debian-desk 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: debian-desk
next host to add:
The current list of NIS servers looks like this:
debian-desk
Is this correct? [y/n: y] y
We need some minutes to build the databases...
Building /var/yp/personal/ypservers...
Running /var/yp/Makefile...
make[1]: Entering directory `/var/yp/personal'
Updating passwd.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
passwd.byuid...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
group.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
group.bygid...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
hosts.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
hosts.byaddr...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
rpc.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
rpc.bynumber...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
services.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
services.byservicename...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
netid.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
protocols.bynumber...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
protocols.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
netgroup...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
netgroup.byhost...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
netgroup.byuser...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
networks.byaddr...
failed to send 'clear' to local ypserv: RPC: Program not registeredUpdating
networks.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredmake[1]:
Leaving directory `/var/yp/personal'
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!