From owner-freebsd-questions Fri Jan 29 08:56:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08740 for freebsd-questions-outgoing; Fri, 29 Jan 1999 08:56:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08735 for ; Fri, 29 Jan 1999 08:56:43 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id LAA22334; Fri, 29 Jan 1999 11:49:34 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199901291649.LAA22334@cc942873-a.ewndsr1.nj.home.com> Subject: Re: ypcat works, ypxfr does not In-Reply-To: <199901291518.KAA02856@misha.cisco.com> from Mikhail Teterin at "Jan 29, 99 10:18:25 am" To: mi@aldan.algebra.com Date: Fri, 29 Jan 1999 11:49:34 -0500 (EST) Cc: questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mikhail Teterin wrote, > > root@misha:~mi (270) ypcat hosts > [...] > root@misha:~mi (271) /usr/libexec/ypxfr -c hosts.byname > ypxfr: couldn't create udp handle to ypserv: RPC: Program not registered > > ypxfr: failed to get order number of hosts.byname: RPC failure talking to server > ypxfr: Exiting: NIS server/map database error > > Any suggestions? My machine runs ypbind only right now, but I wanted > to set-up a local yp-slave to speed thing yp a bit. But ypinit > fails, and so does an explicit ypxfr of any of the databases... > > ypxfr with explicit `-h master' does not work in the same way... Any > ideas? RTFM. man ypxfr: " Ypxfr copies an NIS database (or map) from one NIS server to another us- ing NIS services." You say you only have ypbind running. ypxfr transfers between two ypservs. That first error is ypxfr not finding ypserv running on your system. I cannot say off-hand whether the others are cascade failures due to the first or independent problems. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message