PDA

View Full Version : Problem setting up NIS on SLES 12



ttrcf
15-May-2015, 14:32
I have 2 SLES 12 machines (named master-server and slave-sever) that I want to configure as NIS master and slave servers. I have gone through the configuration of the master, selected that a slave is present, chosen fast map distribution and everything seems to be working. I then configured the slave and again everything seems OK, it pulls the maps from the server and ps -ef reveals that ypserv is running. So far, so good.

The problems start when I change one of the files on the master that the nis maps are generated from. These are in /etc/yp/ypfiles, as I don't use the system files in /etc.

I edit the file (e.g. /var/yp/ypfiles/auto.home) cd /var/yp and issue the make command. This has always worked for me on SLES 11 setups, the new map gets built on the master and then pushed out to the slave. However, on my new setup with SLES 12 there is a delay and then the error:


master-server:/var/yp # make
gmake[1]: Entering directory '/var/yp/my.nisdomain'
gmake[1]: 'ypservers' is up to date.
gmake[1]: Leaving directory '/var/yp/my.nisdomain'
gmake[1]: Entering directory '/var/yp/my.nisdomain'
Updating auto.home...
YPPUSH: Cannot call YPPROC_XFR on host "slave-server": RPC: Timed out

auto.home->master-server: Callback timed out
gmake[1]: Leaving directory '/var/yp/my.nisdomain'


The maps get updated on the master but not on the slave. I have also noticed that if I issue a ypwhich command on the slave it returns the hostname of the master. My previous experience has been that the the slave returns the value localhost and also that almost all of the clients bind to the slave rather that the master. This time, everything binds to the master.

I have turned off the the firewalls on both master and slave and it has made no difference.

Advice would be appreciated.

Automatic reply
20-May-2015, 05:30
ttrcf,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.suse.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team
http://forums.suse.com