For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Stale NIS Connection

Stale NIS Connection

Created by dave. Last edited by dave, 18 years and 93 days ago. Viewed 7,688 times. #3
[diff] [history] [edit] [rdf]


do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused

Note that this is not always a fatal problem; often the system will accomplish what you asked it to after spitting out this error. Still, it is annoying. In at least one case it was fatal to requests made in a chroot'd environment.


Delete the contents of your /var/yp/binding directory (or your chroot'd environment's /var/yp/binding).



For faster NIS lookups, glibc uses the /var/yp/binding/ files from ypbind. ypbind 3.3 and older versions don't always remove these files, so glibc will continue to use them.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt