do_ypcall: clnt_call: RPC: Timed out

In my case system was doing hostlookup. In my /etc/nsswitch.conf file, hosts line was:

hosts: files nis dns

I have changed this hosts line to:

hosts: files dns [NOTFOUND=return]

I am always using DNS for host records, not NIS hosts.byname etc.


Without knowing what you've checked, here is a stab in the dark:

  • Check the status of the rpcbind service.
  • What does /etc/nsswitch.conf look like on the client?
  • Check all your maps (which are in use per nsswitch) with yptest -m.
  • ypmatch localhost hosts