I tried to configure NIS in a server and a client both running Ubuntu 14.04 following this guide and this official guide.
After a reboot the client machine got locked with this message several times repeated:
YPBINDPROC_DOMAIN: Domain not bound
any button couldn't be useful to exit and launch the GUI with a regular login.
I can normally use the machine only with the network disconnected (otherwise, it takes a long time even to open a terminal and sometimes the terminal window crashes).
It displays again tens of times the message YPBINDPROC_DOMAIN: Domain not bound
.
The client machine is regularly indicated in the /etc/hosts.allow
file of the server.
During the configuration, rpcbind
was automatically installed instead of portmap
and I couldn't run the command sudo update-rc.d portmap defaults 10
at the beginning of the guide. Moreover, the command
sudo /etc/init.d/rpcbind restart
worked; but
sudo /etc/init.d/nis restart
didn't work because there was no /etc/init.d/nis
file neither in the client nor in the server. I installed NIS with sudo apt-get install nis
! Does Ubuntu 14.04 work different with respect to the previous versions?
And is it possible to recover from this situation?
(I moved here the question from unix.stackexchange.com)
From https://unix.stackexchange.com/questions/154656/etc-init-d-nis-missing-on-ubuntu/154661
But I also don't know how to restart nis now...
Also, it seems like no one wants nis anymore http://ubuntuforums.org/showthread.php?t=2259561&highlight=nis+14.04
The package name is
nis
, but the server's service name isypserv
and the client's service name isypbind
.On the client side:
On the server side:
In the future use
dpkg -L
to find out which start scripts come with a package. Upstart scripts can be find under/etc/inet
. Something like this should get you the info you want: