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, 12 years and 325 days ago. Viewed 4,819 times. #3
[diff] [history] [edit] [rdf]
labels
attachments

Problem

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.

Solution

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

Discussion

>>http://www.redhat.lt/archives/axp-list/1998-August/msg00308.html

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:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt