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?
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:
Thanks. Helped to solve the issue:
At this point, make sure that
/etc/passwd
and/etc/group
have been edited so that when the NIS is activated, the databases you have just created will be used, instead of the/etc
ASCII files.[root@nfs2:/root]
Also run: service ypserv restart This will update the ypserv settings.