[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 813
  • Last Modified:

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...
0
shadowrise
Asked:
shadowrise
  • 2
  • 2
1 Solution
 
yuzhCommented:
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
0
 
shadowriseAuthor Commented:
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?
0
 
yuzhCommented:
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.

0
 
shadowriseAuthor Commented:
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.  



0
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now