From owner-freebsd-stable Wed Feb 24 14:19:26 1999 Delivered-To: freebsd-stable@freebsd.org Received: from itsdsv1.enc.edu (fw1.enc.edu [207.95.42.127]) by hub.freebsd.org (Postfix) with ESMTP id ED8EB122E6 for ; Wed, 24 Feb 1999 14:15:31 -0800 (PST) (envelope-from owensc@enc.edu) Received: from enc.edu ([10.1.20.106]) by itsdsv1.enc.edu (8.7.5/8.7.3) with ESMTP id HAA17372; Wed, 24 Feb 1999 07:48:51 -0500 (EST) Message-ID: <36D3F3DF.E8674F48@enc.edu> Date: Wed, 24 Feb 1999 07:43:11 -0500 From: Charles Owens Organization: Eastern Nazarene College X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: jarvis@guru.wow.aust.com Cc: FreeBSD Stable Subject: Re: Help with NIS - reposted References: <36D36892.F8503926@guru.wow.aust.com> Content-Type: multipart/mixed; boundary="------------A79DF1523498D61D93436CB6" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------A79DF1523498D61D93436CB6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I've had some trouble with this sort of thing before. I never spent enough time with it to really be sure what the issue is... I just poked and kicked until it started working. What I did was to use ftp to move a copy of the maps down to the slave master. After I did this once, the maps would push out successfully. Chuck Jarvis Cochrane wrote: > Hi, > > I'm running two Freebsd 2.2.8 machines as a NIS master (and client of > itself!) and NIS client, respectively. > > I would like to set up the second machine, currently the NIS client > only, as a slave master. When I try to start ypserv on the client, it > start ok, and doesn't leave any messages in /var/log/messages or > anything like that. > > But, when I do a 'make all' in /var/yp to push the maps to the new slave > > master, I get: > > rome# make all > Updating passwd.byname... > yppush: transfer of map passwd.byname to server > alexandria.murdoch.edu.au failed > yppush: status returned by ypxfr: Domain not supported by server > Pushed passwd.byname map. > Updating passwd.byuid... > yp_mkdb: duplicate key '0' - skipping > yppush: transfer of map passwd.byuid to server alexandria.murdoch.edu.au > > failed > yppush: status returned by ypxfr: Domain not supported by server > Pushed passwd.byuid map. > make: cannot open ../Makefile. > *** Error code 2 > > Stop. > rome# > > (rome is my NIS master, and alexandria is the slave). > > I've put alexandria in /var/yp/ypservers and enabled 'push' in > /var/yp/Makefile. > > I assume that I need to tell ypserv on alexandria that it is (a) a slave > > and (b) that it's master is rome (see the sense in my naming convention? > > Rome is the middle of my little empire, and the master of all things!), > but how do I do this? > > Thanks for your help in advance, and thanks for a _great_ OS! > > Jarvis > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- --- ------------------------------------------------------------------------- Charles N. Owens Email: owensc@enc.edu http://www.enc.edu/~owensc Network & Systems Administrator Information Technology Services "Outside of a dog, a book is a man's Eastern Nazarene College best friend. Inside of a dog it's too dark to read." - Groucho Marx ------------------------------------------------------------------------- --------------A79DF1523498D61D93436CB6 Content-Type: text/x-vcard; charset=us-ascii; name="owensc.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Charles Owens Content-Disposition: attachment; filename="owensc.vcf" begin:vcard n:Owens;Charles tel;fax:617-745-7907 tel;work:617-745-3725 x-mozilla-html:FALSE url:http://www.enc.edu/~owensc org:Eatern Nazarene College;Information Technology Services adr:;;23 East Elm Avenue;Quincy;MA;02170;USA version:2.1 email;internet:owensc@enc.edu title:Network & Systems Coordinator x-mozilla-cpt:;0 fn:Charles N. Owens end:vcard --------------A79DF1523498D61D93436CB6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message