1847216 Members
4390 Online
110263 Solutions
New Discussion

Re: NIS problem

 
Amit Manna_6
Regular Advisor

NIS problem

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
5 REPLIES 5
Amit Manna_6
Regular Advisor

Re: NIS problem

Also

ypcat passwd | grep gana
yp_all: TCP channel create failure: RPC_PROG_NOT_REGISTERED


pls help
Shaikh Imran
Honored Contributor

Re: NIS problem

Hi,

what is the o/p of
#rpcinfo -s
see man rpcinfo for details
command looks like the ypserv daemon is not listening
just try restarting the nis server by
/sbin/init.d/nis.server stop
/sbin/init.d/nis.client stop

/sbin/init.d/nis.server start
/sbin/init.d/nis.client start

Regards,


I'll sleep when i am dead.
Amit Manna_6
Regular Advisor

Re: NIS problem

Hi,

We have tried out that too.

I mean resrting NIS service.

Still its not working
Shailendra_9
New Member

Re: NIS problem

what is the output of bdf -t nfs
to check if nfs is responding fine.
Shaikh Imran
Honored Contributor

Re: NIS problem

Hi,
The error is because the ypserv,rpcbind,etc are not registered with rpc which you could see from rpcinfo command.
if you run the rpcinfo command what do you get ?
i mean do you get the ypserv,rpcbin,rpc.yppasswdd etc.., registered to a particular program number or not ?
if you get it registered with a particular program number then use
# rpcinfo -u ( u = udp or -t if it's tcp )
This should give ready and waiting

Regards,
I'll sleep when i am dead.