1848241 Members
7026 Online
104022 Solutions
New Discussion

NIS error

 
Amit Manna_6
Regular Advisor

NIS error

Hi,
When I give a ypwhich command on NIS slave server

I get the following error:

ypwhich: clntudp_create error: RPC_PROG_NOT_REGISTERED

Can any body please help.


5 REPLIES 5
Sanjay Kumar Suri
Honored Contributor

Re: NIS error

ypwhich: clntudp_create error RPC_PROG_NOT_REGISTERED

then ypbind is not running on the client.

Issue the following commandto start all the NIS client processes:

/sbin/init.d/nis.client start

sks

A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Elmar P. Kolkman
Honored Contributor

Re: NIS error

Check with ps if the NIS processes are running. If not, try to start them to see if that works. Perhaps check /etc/rc.config.d/namesvrs first, to make sure the NIS client is configured to start.

You might also take a look at /var/yp/log for info on why it isn't responding.

Good luck, Elmar
Every problem has at least one solution. Only some solutions are harder to find.
Amit Manna_6
Regular Advisor

Re: NIS error

when i am doing a ypmake on the NIS slave I am getting the following error:

./ypmake

For NIS domain newlook.co.uk:

Building the passwd map(s)... passwd build complete.
Pushing the passwd map(s): passwd.bynamenis server not registered at mgtmgr.
passwd.byuidnis server not registered at mgtmgr.

Building the group map(s)... group build complete.
Pushing the group map(s): group.bygidbind_to_server clntudp_create error: RPC_PROG_NOT_REGISTERED
bind_to_server clntudp_create error: RPC_PROG_NOT_REGISTERED
Can't bind master to send ypclear message to ypserv for map group.bygid.
./ypmake[16]: 11986 Bus error(coredump)
group.bynamebind_to_server clntudp_create error: RPC_PROG_NOT_REGISTERED
bind_to_server clntudp_create error: RPC_PROG_NOT_REGISTERED
Can't bind master to send ypclear message to ypserv for map group.byname.


Can any body please help
Jan Sladky
Trusted Contributor

Re: NIS error

hi Ammit,

it neverminds you aren't assigning points....

Check that all processes are running on server:

/sbin/init.d/nis.sever - starts following:
ypserv - NIS server
rpc.yppasswdd - controls password file
ypxfrd - transfer NIS map
rpc.updated - update map
keyserv - for secure RPC

/sbin/init.d/nis.client -starts:
ypbind - for binding to a server
keyserv - for secure RPCs

I your case I suggest restart client and server
/sbin/init.d/nis.client stop /start

br Jan

GSM, Intelligent Networks, UNIX
john kingsley
Honored Contributor

Re: NIS error

You should only run ypmake on the master server. When ypmake is run, it rebuilds the NIS maps and pushes them to your slave. Running ypmake on the slaves, will probably mess up your NIS maps on the slaves.