NIS: Problem with changing a master server

From: Husemann, Harald (harald.husemann@Materna.DE)
Date: Wed Aug 28 2002 - 06:14:00 EDT


Hi Gurus,

I've a problem with changing a NIS master server. My NIS Admin Guide (O'
Reilly, "Managing NFS and NIS") says I should setup the new master a
NIS-slave, rebuild the NIS-maps on the new master with NOPUSH=1, and then
transfer the newly generated NIS-maps to the old server using ypxfr:

ypxfr -h newmaster -f <NIS-map>.

I've setup the slave, rebuild the maps, but when I try the ypxfr, I get the
following error message:

ypxfr: couldnot get <newmaster> address
(info) <newmaster> passwd.byuid ypxfrd getdbm failed (reason = -1) -- using
ypxfr

What does this mean?
The address of the new master is present in the old master's /etc/hosts, so
I thought it should work. I also added the new master's hostname to the
ypservers-map and rebuild the ypservers map using makedbm...
Where's the problem?
Anyone seen this before?

Thanks for your help, will summarize.

kind regards,

Harald

============================================
Harald Husemann
Systems Engineer
Teammanager Unix administration and Configuration Management
Materna Gmbh
Vo_kuhle 37
D-44141 Dortmund, Germany
Phone: +49-231-5599-8684
Mobile: +49-179-2300651
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:51 EDT