Setting up YP slave on remote subnet

From: Grant Lowe (glowe@sbcglobal.net)
Date: Thu Feb 17 2005 - 12:51:22 EST


Hi gurus.
 
I need help. I have two boxes, a Solaris 8 master, and I'm trying to setup a YP slave on a Solaris 9 box on a different subnet. When I run ypinit -s master on the remote slave, I get these errors:
 
ypwhich: Can't find the master of user_attr. Reason: no such map in server's domain.
ypwhich: Can't find the master of auto.home. Reason: no such map in server's domain.
ypwhich: Can't find the master of auto.master. Reason: no such map in server's domain.
ypwhich: Can't find the master of netmasks.byaddr. Reason: no such map in server's domain.
ypwhich: Can't find the master of netid.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of publickey.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of mail.byaddr. Reason: no such map in server's domain.
ypwhich: Can't find the master of protocols.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of protocols.bynumber. Reason: no such map in server's domain.
ypwhich: Can't find the master of mail.aliases. Reason: no such map in server's domain.
ypwhich: Can't find the master of services.byservicename. Reason: no such map in server's domain.
ypwhich: Can't find the master of services.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of rpc.bynumber. Reason: no such map in server's domain.
ypwhich: Can't find the master of networks.byaddr. Reason: no such map in server's domain.
ypwhich: Can't find the master of networks.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of ipnodes.byaddr. Reason: no such map in server's domain.
ypwhich: Can't find the master of ipnodes.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of hosts.byaddr. Reason: no such map in server's domain.
ypwhich: Can't find the master of hosts.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of group.bygid. Reason: no such map in server's domain.
ypwhich: Can't find the master of group.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of passwd.byuid. Reason: no such map in server's domain.
ypwhich: Can't find the master of passwd.byname. Reason: no such map in server's domain.
ypwhich: Can't find the master of ypservers. Reason: no such map in server's domain.
Can't enumerate maps from fortress. Please check that it is running.

I made sure port 111 is open between the two machines. If I run ypcat, I get this:
 
#ypcat ypservers
no such map in server's domain

What am I doing wrong or missing? Will summarize. Thanks!
_______________________________________________
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:30:12 EDT