Problem
do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refusedNote 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.