From owner-freebsd-questions@FreeBSD.ORG Thu Oct 12 21:25:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD87616A403 for ; Thu, 12 Oct 2006 21:25:02 +0000 (UTC) (envelope-from gao@schrodinger.com) Received: from schrodinger.com (thermidore.schrodinger.com [192.156.98.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9325F43D46 for ; Thu, 12 Oct 2006 21:25:02 +0000 (GMT) (envelope-from gao@schrodinger.com) Received: from [192.156.98.12] (ithi.schrodinger.com [192.156.98.12]) by schrodinger.com (8.13.4/8.12.8) with ESMTP id k9CLOgII098853 for ; Thu, 12 Oct 2006 14:24:42 -0700 (PDT) (envelope-from gao@schrodinger.com) Message-ID: <452EB28F.9080801@schrodinger.com> Date: Thu, 12 Oct 2006 14:24:31 -0700 From: Simon Gao User-Agent: Thunderbird 1.5.0.7 (X11/20060926) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: RHEL 4 slave NIS server setup problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 21:25:03 -0000 Hi, Hope someone can help me here. We have a NIS master server running on FreeBSD 4.11. RHEL clients can bind to the server without any problem. Now I want to add another nis slave server using RHEL 4. When I issued command "/usr/lib/yp/ypinit -s ", I got following errors: We will need a few minutes to copy the data from . Transferring passwd.byuid... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring passwd.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring group.bygid... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring group.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring services.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring rpc.bynumber... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring rpc.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring protocols.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring networks.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring protocols.bynumber... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring hosts.byaddr... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring netid.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring networks.byaddr... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring ypservers... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) Transferring hosts.byname... Trying ypxfrd ...rpc.ypxfrd doesn't support the needed database type call to rpc.ypxfrd failed: RPC: Can't decode result (failed, fallback to enumeration) faith.schrodinger.com's NIS data base has been set up. If there were warnings, please figure out what went wrong, and fix it. At this point, make sure that /etc/passwd and /etc/group have been edited so that when the NIS is activated, the data bases you have just created will be used, instead of the /etc ASCII files. Is it required to have the same nis map data file type on both master and slave? How to make maps transfer from FreeBSD to Linux correctly? Simon