# Problem setting up NIS on SLES 12

**URL:** <https://forums.suse.com/t/problem-setting-up-nis-on-sles-12/27042>\
**Category:** SLES Configure-Administer\
**Created:** [May 15, 2015, 4:32pm UTC](https://forums.suse.com/t/problem-setting-up-nis-on-sles-12/27042 "2015-05-15T16:32:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttrcf](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@ttrcf](https://forums.suse.com/u/ttrcf)\
**Post date:** [May 15, 2015, 4:32pm UTC](https://forums.suse.com/t/problem-setting-up-nis-on-sles-12/27042/1 "2015-05-15T16:32:48Z")

</div>

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:

[INDENT]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’[/INDENT]

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [May 20, 2015, 7:30am UTC](https://forums.suse.com/t/problem-setting-up-nis-on-sles-12/27042/2 "2015-05-20T07:30:18Z")

</div>

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](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](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](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](http://forums.suse.com)
