1834657 Members
2367 Online
110069 Solutions
New Discussion

NIS Slave server

 
SOLVED
Go to solution
Francois Bariselle_3
Regular Advisor

NIS Slave server

Hi all,

When I transfer all maps from the NIS master server to an Slave server with sam, I found this message in /var/yp/ypxfr.log:

Wed Apr 3 12:08:01: ypxfr: transferred map auto.master from canopus (2 entries)
Wed Apr 3 12:08:01: ypxfr: can't get master of bootparams
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: can't get master of ethers
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: can't get master of group
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: can't get master of hosts
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: can't get master of mail
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: transferred map netgroup from canopus (2 entries)
Wed Apr 3 12:08:01: ypxfr: can't get master of netid
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: can't get master of netmasks
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: can't get master of networks
reason: no such map in server's NIS domain
Wed Apr 3 12:08:01: ypxfr: can't get master of passwd
reason: no such map in server's NIS domain
Wed Apr 3 12:08:02: ypxfr: can't get master of protocols
reason: no such map in server's NIS domain
Wed Apr 3 12:08:02: ypxfr: can't get master of publickey
reason: no such map in server's NIS domain
Wed Apr 3 12:08:02: ypxfr: can't get master of rpc
reason: no such map in server's NIS domain
Wed Apr 3 12:08:02: ypxfr: can't get master of services
reason: no such map in server's NIS domain
Wed Apr 3 12:08:02: ypxfr: transferred map vhe_list from canopus (2 entries)
Wed Apr 3 12:08:02: ypxfr: transferred map ypservers from canopus (2 entries)

OS: HP-UX 10.20

Frank.
Fais la ...
8 REPLIES 8
Helen French
Honored Contributor

Re: NIS Slave server

Sachin Patel
Honored Contributor

Re: NIS Slave server

From the log look like you don't have that map in server
/var/yp/`domainname` directory.

Sachin
Is photography a hobby or another way to spend $
pap
Respected Contributor

Re: NIS Slave server

Are you setting up new NIS Slave server? Was it running fine before you tried to transfer all the maps?

Just check that do you have any files on master server under /var/yp/"domainname" directory?

The other thing is that if you are configuring new slave server than your slave server entry should be there in MAster server identifying that this is a slave server.
for that you need to update ypservers table.

let me know if you have any questions.

-pap
"Winners don't do different things , they do things differently"
Francois Bariselle_3
Regular Advisor

Re: NIS Slave server

Yes I setting up new NIS Slave server.

On my master server, in /var/yp/ingd (ingd is my NIS domain), I have all files maps but many of theses files are null.

On my master server, I identifying that this is a slave server.

Why on my master server in /var/yp/ingd there are many null file.

Frank.
Fais la ...
Francois Bariselle_3
Regular Advisor

Re: NIS Slave server

Is it a good idea to rebuilt all maps on the master server for resolve all of theses null file.
If yes how I rebult all maps.

Frank
Fais la ...
Sachin Patel
Honored Contributor

Re: NIS Slave server

To build a master server is easy

on master
#ypinit -m and it will ask you couple questions it will rebuild all your maps.

If it is in production environment then be careful. You have to look in your make file in detail.
It is perfectly ok to have null map there. It indicates that you are not using that as nis map.

Sachin
Is photography a hobby or another way to spend $
Helen French
Honored Contributor
Solution

Re: NIS Slave server

Hi,

This document will help you to setup a master. slave and client:

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=c77da8ee17c62a6d9e/screen=ckiDisplayDocument?docId=200000048368333

HTH,
Shiju

Life is a promise, fulfill it!
Ralf Buchhold
Regular Advisor

Re: NIS Slave server

Hello Frank
I have the same problem. Can you send me the link of the document ?
Link is down !

Thank you
Ralf