From owner-freebsd-questions Fri Feb 2 18:29:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 8D85637B491 for ; Fri, 2 Feb 2001 18:29:04 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Fri, 2 Feb 2001 18:27:13 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f132STZ39314; Fri, 2 Feb 2001 18:28:29 -0800 (PST) (envelope-from cjc) Date: Fri, 2 Feb 2001 18:28:23 -0800 From: "Crist J. Clark" To: "O. Hartmann" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NIS/YP struggles Message-ID: <20010202182823.A91447@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from ohartman@ipamzlx.physik.uni-mainz.de on Thu, Feb 01, 2001 at 08:20:27PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 01, 2001 at 08:20:27PM +0100, O. Hartmann wrote: > I got some problems installing and using NIS/YP. > > I set up a YP/NIS server and a slave server to serve a small > domain. But something seems to be wrong. > > master server and slave server are set up as described in the handbook. Server > daemon is present, both machines should be YP clients to theirselfs, so > I set up them to be clients with ypbind -s -ypsetme etc. > I set up rpc.ypxfrd on both servers and creating the slave entries seems > to be very easy and works. Both machines and the clients are on the same > local network. Both machines use IPFW as filter and both are fully transparent > on the local network for all packets and protocols. Both machines use tcpwrapper > and all services for NFS, RPC (portmapper), NIS/YP are allowed to connect. > But nothing happens! > When the master server generates its new maps every hour it returns a failure that > it could not create an UDp handle to the named slave server. When doing a ypcat > passwd or similar command on the YP/NIS master server I get a failure like > ypcat: no such map group.byname. reason: Can't bind to server which serves this domain > ypbind is up, ypserv is up, all other servers are up ... what's wrong? What does, $ domainname $ ypwhich $ rpcinfo -p Tell you? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message