Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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
share|improve this answer

Thanks. Helped to solve the issue:

# /usr/lib64/yp/ypinit -s nfs1
We will need a few minutes to copy the data from nfs1.
Transferring protocols.bynumber...
Trying ypxfrd ... success

Transferring services.byname...
Trying ypxfrd ... success

Transferring group.bygid...
Trying ypxfrd ... success

Transferring auto.data...
Trying ypxfrd ... success

Transferring mail.aliases...
Trying ypxfrd ... success

Transferring auto.app...
Trying ypxfrd ... success

Transferring netid.byname...
Trying ypxfrd ... success

Transferring ypservers...
Trying ypxfrd ... success

Transferring auto.home...
Trying ypxfrd ... success

Transferring rpc.byname...
Trying ypxfrd ... success

Transferring hosts.byname...
Trying ypxfrd ... success

Transferring passwd.byname...
Trying ypxfrd ... success

Transferring auto.master...
Trying ypxfrd ... success

Transferring passwd.byuid...
Trying ypxfrd ... success

Transferring hosts.byaddr...
Trying ypxfrd ... success

Transferring rpc.bynumber...
Trying ypxfrd ... success

Transferring group.byname...
Trying ypxfrd ... success

Transferring protocols.byname...
Trying ypxfrd ... success

Transferring services.byservicename...
Trying ypxfrd ... success


nfs2's NIS data base has been set up.
If there were warnings, please figure out what went wrong, and fix it.

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]

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.