Operating System - Linux
1825720 Members
2928 Online
109686 Solutions
New Discussion

Re: Cant emurate maps from 10.0.0.1. Please check it is running -- plz help

 
SOLVED
Go to solution
Maaz
Valued Contributor

Cant emurate maps from 10.0.0.1. Please check it is running -- plz help

Hello Dear Gurus

NIS master's ip: 10.0.0.1
NIS slave's ip: 10.0.0.2

on NIS master server:
#vi /etc/sysconfig/network
NISDOMAIN=test

#/var/yp/Makefile
NOPUSH=false

#service yppasswdd start
#service ypserv start
#service ypxfrd start
#/usr/lib/yp/ypinit -m
when it ask i add/provide the name/ip of the slave server.
----

on slave server:
#vi /etc/sysconfig/network
NISDOMAIN=test

#service yppasswdd start
#service ypserv start
#/usr/lib/yp/ypinit -s master_server_ip
Cant emurate maps from 10.0.0.1. Please check it is running

i.e i m fail to configure slave server.. plz help

Thanks n Regards
Maaz
5 REPLIES 5
Alexander Chuzhoy
Honored Contributor

Re: Cant emurate maps from 10.0.0.1. Please check it is running -- plz help

you should configure slave server with:
/usr/lib/yp/ypinit -s
Maaz
Valued Contributor

Re: Cant emurate maps from 10.0.0.1. Please check it is running -- plz help

Dear Alexander thanks a lot for the help n support.

did u mean that i should not provide the master's ip, i.e just '#usr/lib/yp/ypinit -s", and not the "#/usr/lib/yp/ypinit -s master's ip" ?

and one more thing to ask, i once heard or read somewhere that on nis slave servers no service is require to run .. is it true ?

Thanks n Regards
Maaz

Alexander Chuzhoy
Honored Contributor
Solution

Re: Cant emurate maps from 10.0.0.1. Please check it is running -- plz help

in order to prevent the error message:
add the ip address of nis server to /etc/hosts
of slave server



you should start services on slave server otherwise the client won't be able to connect to it
Srikanth A_1
Occasional Advisor

Re: Cant emurate maps from 10.0.0.1. Please check it is running -- plz help

Maaz
Valued Contributor

Re: Cant emurate maps from 10.0.0.1. Please check it is running -- plz help

Dear Alexander, I m really very thankful to u for the support.

yes Alexander, as u mentioned I just have to configure /etc/host file at slave server, and instead of providing IP of the master server, when I provide the name of the master server, the slave server configure smoothly.

Thanks a lot Dear Srikanth A for the reply/support.

Thanks Forum
Regards
Maaz