Link to home
Start Free TrialLog in
Avatar of shadowrise
shadowrise

asked on

Solaris 9 rpc timeout errors during nis map transfer

I have a Solaris 9 system that I'm doing testing with.

I'm trying to do a ypinit -s nisserver...

My problem is, that the server which is providing the NIS maps takes awhile to reply to some of the maps, such as mail.byaddr as it has around 8,000 entries.

So when it goes after these large maps, I'm getting RPC timeout errors:

ypxfr(get_misc_recs) RPC call to ldaptest1 failed: RPC: Timed out
ypxfr(get_misc_recs) RPC call to ldaptest1 failed: RPC: Timed out

Is there a value I can adjust somewhere that will raise the rpc timeout limit?  It appears to be at 120 seconds from what I can tell...
Avatar of yuzh
yuzh

ypxfrd is not running on the NIS master server. Login to the master server and start it:
ypxfrd  

please read:
http://www.softpanorama.org/Net/Application_layer/NIS/nis_maps.shtml
http://www.sunhelp.org/faq/nis.html
Avatar of shadowrise

ASKER

As I understand, PADL imulates a yp server.  So ypxfrd is not necessary.  None-the-less.  I did try starting ypxfrd on the yp server, and I get the same RPC timeout.

Is there no way to adjust the rpc timeout limit?
Try to change the settings for: (default is 60 seconds)
nfs:nfs_cots_timeo
or
nfs:nfs3_cots_timeo
see:
http://docs.sun.com/app/docs/doc/816-7137/6md5pauk4?a=view
or:
http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaadm/SOLTUNEPARAMREF/p22.html

You need to put them in /etc/system and reboot.

I tried those settings, but they didn't seem to make a difference.

After speaking with PADL, I finally found out the product doesn't support NIS slaves.  



ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial