bean72
October 31st, 2008, 12:06 AM
Hi there,
I'm looking to get my server started from scratch using the new Intrepid desktop release. This time I was interested in getting all my desktops setup using NIS with shared home folders.
I'm following this guide:
https://help.ubuntu.com/community/SettingUpNISHowTo
When I install the NIS package, when it attempts to start, it fails to bind with YP Server. I assume that this is normal because yp.conf is not configure properly yet.
But when I get to the point where you have to build the db for the first time, this is what I get:
root@jeff-server:~# /usr/lib/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. jeff-server 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: jeff-server
next host to add:
The current list of NIS servers looks like this:
jeff-server
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/jeff-server/ypservers...
Running /var/yp/Makefile...
make[1]: Entering directory `/var/yp/jeff-server'
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 shadow.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredmake[1]: Leaving directory `/var/yp/jeff-server'
jeff-server has been set up as a NIS master server.
And after doing that, when I try to start nis again, it still fails to bind. I tried searching everywhere for a solution, but all solutions I find are out of date, and they don't work.
Also, is there anything wrong with setting the domain name to my servers hostname?
I have attempted to follow the guide several times but I am still getting nothing.
Thanks for your help,
Jeff
I'm looking to get my server started from scratch using the new Intrepid desktop release. This time I was interested in getting all my desktops setup using NIS with shared home folders.
I'm following this guide:
https://help.ubuntu.com/community/SettingUpNISHowTo
When I install the NIS package, when it attempts to start, it fails to bind with YP Server. I assume that this is normal because yp.conf is not configure properly yet.
But when I get to the point where you have to build the db for the first time, this is what I get:
root@jeff-server:~# /usr/lib/yp/ypinit -m
At this point, we have to construct a list of the hosts which will run NIS
servers. jeff-server 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: jeff-server
next host to add:
The current list of NIS servers looks like this:
jeff-server
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/jeff-server/ypservers...
Running /var/yp/Makefile...
make[1]: Entering directory `/var/yp/jeff-server'
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 shadow.byname...
failed to send 'clear' to local ypserv: RPC: Program not registeredmake[1]: Leaving directory `/var/yp/jeff-server'
jeff-server has been set up as a NIS master server.
And after doing that, when I try to start nis again, it still fails to bind. I tried searching everywhere for a solution, but all solutions I find are out of date, and they don't work.
Also, is there anything wrong with setting the domain name to my servers hostname?
I have attempted to follow the guide several times but I am still getting nothing.
Thanks for your help,
Jeff