Date: Wed, 24 Feb 1999 07:43:11 -0500 From: Charles Owens <owensc@enc.edu> To: jarvis@guru.wow.aust.com Cc: FreeBSD Stable <stable@FreeBSD.ORG> Subject: Re: Help with NIS - reposted Message-ID: <36D3F3DF.E8674F48@enc.edu> References: <36D36892.F8503926@guru.wow.aust.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
-------------------------------------------------------------------------
[-- Attachment #2 --]
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D3F3DF.E8674F48>
