Install NIS on ubuntu
I am trying to instalol NIS and when i just simply install it
i get this erorr
Starting NIS services * binding to YP server... * .... * .... * .... * .... * .... * .... * .... * .... * .... * .... [fail]
I tried to find the solution but didn't find any proper one.
Still facing the issue,
Can anybody help with this?
it's been a while since i've used NIS so i don't remember the specifics, however you have to install and configure ypserv on the machine that is going to be used as the NIS server, then you can run and configure the NIS clients.
Hello ashu2188 and welcome to LQ,
After the YP binding fails you need to edit /etc/default/nis and set NISSERVER.
Once you have done this, run /usr/lib/yp/ypinit -m
Once this is complete you can run /etc/init.d/nis start with no errors.
Hope this works for you.
It didn't help buddy..!
Still facing the same problem...
can you just help me with installing yupserv on unbuntu (Backtrack5)?
when i issue apt-get install ypserv
it says it didn't find the package. I guess if i can install ypserve , the issue can be solved.
I'll pass on the Ubuntu specific part, but this is a good guide to NIS, may help you check/debug stuff http://www.linuxhomenetworking.com/w...onfiguring_NIS
Incidentally, NIS is unencrypted; are you sure this is a good idea? You may want to consider LDAP instead, which has an encryption option http://www.linuxhomenetworking.com/w...DAP_and_RADIUS
Turns out NIS installation on apt-get systems is rather bugged.
What it misses is the configuration of the /etc/yp.conf file.
Add the following line to the bottom of your /etc/yp.conf file.
domain <your domain> server <your NIS server>
Then rerun the nis service and it should be ok.
|All times are GMT -5. The time now is 10:50 AM.|