Operating System - HP-UX
1827367 Members
5888 Online
109963 Solutions
New Discussion

problem to update nis maps from master NIS server to NIS slave server!

 
kenken_3
Regular Advisor

problem to update nis maps from master NIS server to NIS slave server!

Hi all,

recently I just got some errors on our NIS server when I try to push the NIS map from the NIS master server(master) to our NIS slave server(slave).

It shows like this when I try to use ypmake to push the passwd map

"For NIS domain :

Building the passwd map(s)... passwd build complete.
Pushing the passwd map(s): passwd.bynameStatus received from ypxfr on slave:
Failed - dbm operation on map failed."


then when I try to use ypxfr from the slave, it give me the following errors
"ypxfr -f -h master passwd.byname
clnt call to ypxfrd getdbm failed.
getdbm: RPC: Unable to receive; errno = Connection reset by peer
ypxfr: can't dbm init temp map /var/yp/cadcam3/AAAa18409"

everything is working normal last week. It just happened on Wed.

I have tried to restart the nis.server and nis.client for both master and slave. it doesn't help.

Anyone can help me on this?

Thanks in advance.



wang & wang
3 REPLIES 3
Stuart Urquhart
Frequent Advisor

Re: problem to update nis maps from master NIS server to NIS slave server!

OK for space in /var ? Are all yp RPC services ok (check with rpcinfo -p master). You could always try re-initialising the YP slave (ypinit -s), but this might cause problems for anything that's bound to the slave.
kenken_3
Regular Advisor

Re: problem to update nis maps from master NIS server to NIS slave server!

After I re-init it, it is ok already.

thanks,
wang & wang
kenken_3
Regular Advisor

Re: problem to update nis maps from master NIS server to NIS slave server!

init -s the slave master server
wang & wang