1833433 Members
3041 Online
110052 Solutions
New Discussion

Nis slave problem

 
brian_31
Super Advisor

Nis slave problem

Team:

I have a NIS master and a Slave. On master if i do ypcat ypservers it shows both the master and slave. But on slave ypcat ypservers returns nothing. I removed some of the other slaves that were attached to the master by makedbm -u /var/yp/ypservers, but i accidentely ran the makedbm command on the slave. would that be the culprit? if so what is the solution?

Thanks

Brian
6 REPLIES 6
V. Nyga
Honored Contributor

Re: Nis slave problem

Hi Brian,

check at the slave if you have in /var/yp a directory with the name of your domain, if yes delete it.
Then do a ypmake from the master.

Volkmar
*** Say 'Thanks' with Kudos ***
brian_31
Super Advisor

Re: Nis slave problem

I deleted the /var/yp/domainname directory from the slave and did a ypmake and also restarted the services on both master and slave and now the error is NIS domain not bound Reason: can't bind to a server that serves NIS domain. Hope it is not serious

Thanks

Brian
V. Nyga
Honored Contributor

Re: Nis slave problem

Hi again,

did you do ypmake at the master after restarting the service?

V.
*** Say 'Thanks' with Kudos ***
brian_31
Super Advisor

Re: Nis slave problem

Yes. i did.

Thanks

Brian
Sanjay_6
Honored Contributor

Re: Nis slave problem

Hi Brian,

Maybe this doc from itrc can help,

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070736935

the itrc doc id is KBRC00011459.

Hope this helps.

Regds
V. Nyga
Honored Contributor

Re: Nis slave problem

Hi Brian,

still problems?

V.
*** Say 'Thanks' with Kudos ***