NIS / YP make – mail.aliases Callback timed out

nameservernisyp

I am trying to add the mail.aliases map to my Makefile on my NIS/YP server. I have added 'mail' to list of maps to build, and ensured that it is pointing to the correct aliases file (/etc/aliases).

The problem I am getting is that when I run make, I get a "Callback timed out" error like the following:

mail.aliases -> "SlaveNisServer": Callback timed out

The other maps seem to build successfully.

Does anyone have any idea what could be going wrong here?

Best Answer

It's possible your slave server is not set up correctly - Try running ypinit on the SlaveNisServer, and ensure that the NIS (and rpcbind) daemons are running:

/usr/lib/yp/ypinit -s MasterNisServer