Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"vi /etc/sysconfig/network" I edit NISDOMAIN=rhel.com
then I have restart my computer, after I login again i typed
"nisdomainname" to check domain name it was none, then I give temporary nisdomainname i typed "nisdomainname rhel.com"
Next step I enter into /var/yp/ to configure
"/usr/lib/yp/ypinit -m" to make master server, after this it ask me to add another host i type ctrl+d then "yes" to configure then I found this error below
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/rhel.com/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/rhel.com'
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 mail.aliases...
failed to send 'clear' to local ypserv: RPC: Program not registeredgmake[1]: Leaving directory `/var/yp/rhel.com'
rahil has been set up as a NIS master server.
Now you can run ypinit -s rahil on all slave server.
then I restart ypserv, then again I run same command to configure as master
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/rhel.com/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/rhel.com'
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 services.byservicename...
Updating netid.byname...
Updating protocols.bynumber...
Updating protocols.byname...
Updating mail.aliases...
gmake[1]: Leaving directory `/var/yp/rhel.com'
"vi /etc/sysconfig/network" I edit NISDOMAIN=rhel.com
then I have restart my computer, after I login again i typed
"nisdomainname" to check domain name it was none, then I give temporary nisdomainname i typed "nisdomainname rhel.com"
Next step I enter into /var/yp/ to configure
"/usr/lib/yp/ypinit -m" to make master server, after this it ask me to add another host i type ctrl+d then "yes" to configure then I found this error below
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/rhel.com/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/rhel.com'
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 mail.aliases...
failed to send 'clear' to local ypserv: RPC: Program not registeredgmake[1]: Leaving directory `/var/yp/rhel.com'
rahil has been set up as a NIS master server.
Now you can run ypinit -s rahil on all slave server.
then I restart ypserv, then again I run same command to configure as master
Is this correct? [y/n: y] y
We need a few minutes to build the databases...
Building /var/yp/rhel.com/ypservers...
Running /var/yp/Makefile...
gmake[1]: Entering directory `/var/yp/rhel.com'
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 services.byservicename...
Updating netid.byname...
Updating protocols.bynumber...
Updating protocols.byname...
Updating mail.aliases...
gmake[1]: Leaving directory `/var/yp/rhel.com'
what should I do wen I saw my yp.conf file was empty only 2 line were written it's below
#generated by /sbin/dhcpclient-script
domain domain.org broadcast
this tow line were there in yp.conf
what should do to solve this error
Okay, IN my 1st post On client site I have written error with authconfig --enablenis --update Yes, I have solve this problem, problem was ypbind was not install properly, I reinstall it again and its done, but new problem is when i type #authconfig --nisdomain=rhel.com --update
Okay, IN my 1st post On client site I have written error with authconfig --enablenis --update Yes, I have solve this problem, problem was ypbind was not install properly, I reinstall it again and its done, but new problem is when i type #authconfig --nisdomain=rhel.com --update
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.