1847217 Members
3131 Online
110263 Solutions
New Discussion

Re: NIS Problem

 
Patricia Tang
Advisor

NIS Problem

Hi All,

My NIS Master Server is in Linux Red Hat.
When i try to setup client in HP_UX11 by using /usr/sbin/ypinit -s NIS-Master-Server DOM=domain-name, i encouter problem of "NIS-Master-Sever: RPC: Program not registered
ypxfr: can't mv /tmp/AAAa13412.pag to /var/yp/domain-name/passwd.byname.pag
ypxfr: rename error: couldn't mv /tmp/AAAa13412 to /var/yp/domain-name/passwd.byname.

Anyone of you know what's wrong with it?
* None of the map is successful tranfer.

Please advise.

Thanks in advance.

Regards,
Pat

3 REPLIES 3
leereg_5
Frequent Advisor

Re: NIS Problem

To setup a slave NIS server, you must copy all the NIS maps from the master server to the slave server manully, then you can ypxfr(yp transfer) to update all NIS maps on slave server.
Regards!
Always UNIX!
Frank Li
Trusted Contributor

Re: NIS Problem

You can check this :

1,When you setup the NIS slave server ,the master NIS server daemon must be running .

2.Check the /etc/rpc file , it'd better the same both on linux and hpux
Hi Friend
nnf97
Regular Advisor

Re: NIS Problem

After running ypinit -c on the client, run ypinit -s
This will create all the maps properly.
And then you should not have time outs on ypxfr.
Live Free or Die (New Hampshire)