From owner-freebsd-questions@FreeBSD.ORG Fri Jul 21 09:42:26 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 E609216A4E0 for ; Fri, 21 Jul 2006 09:42:26 +0000 (UTC) (envelope-from david@landgren.net) Received: from sferics.mongueurs.net (sferics.mongueurs.net [81.80.147.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E0D43D46 for ; Fri, 21 Jul 2006 09:42:26 +0000 (GMT) (envelope-from david@landgren.net) Received: from [127.0.0.1] (exo.bpinet.com [81.80.147.206]) by sferics.mongueurs.net (Postfix) with ESMTP id 760FFACAA; Fri, 21 Jul 2006 11:42:25 +0200 (CEST) Message-ID: <44C0A180.1040302@landgren.net> Date: Fri, 21 Jul 2006 11:42:24 +0200 From: David Landgren Organization: The Lusty Decadent Delights of Imperial Pompeii User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: David Kelly References: <44BF9E40.7090104@landgren.net> <20060720164601.GA71581@Grumpy.DynDNS.org> <44BFC0B4.5000108@landgren.net> <20060720183904.GA72155@Grumpy.DynDNS.org> In-Reply-To: <20060720183904.GA72155@Grumpy.DynDNS.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Connection refusal for an NFS mount 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: Fri, 21 Jul 2006 09:42:27 -0000 David Kelly wrote: > On Thu, Jul 20, 2006 at 07:43:16PM +0200, David Landgren wrote: >> David Kelly wrote: >>> For starters try "showmount -e the.freebsd.ip.address" on the Linux box >>> to see if the Linux box sees the NFS daemons on the FreeBSD machine. >> Hrm. >> >> # showmount -e 172.17.0.21 >> mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive > > I don't think NFS is going to work until you can get past the above > problem. Running "showmount -e" on your FreeBSD machine should display > the essential contents of /etc/exports. I added /var 172.17.0.21 /usr 127.0.0.1 to /etc/exports on the FreeBSD machine, hupped mountd, and when I run showmount -e 172.17.0.21 showmount -e 127.0.0.1 ... either command just hangs indefinitely. Hmm. > What does the FreeBSD machine have to say about your attempts to connect > from Linux in /var/log/messages? Nothing. Which is reasonable, given the above. So it looks like NFS is hosed on this box. Let's see now, relevant lines from rc.conf firewall_enable="YES" firewall_type="open" kern_securelevel_enable="NO" nfs_access_cache="2" nfs_bufpackets="" nfs_reserved_port_only="NO" nfs_server_enable="YES" nfs_server_flags="-u -t -n 4" mountd_enable="YES" ntpd_enable="YES" rpc_lockd_enable="NO" rpcbind_enable="YES" rpc_statd_enable="YES" Hmm. I don't what nfs_bufpackets does. Short of rebooting the server, how do I reinitialise the NFS layers? Does the following order sound sane? /etc/rc.d/mountd stop /etc/rc.d/nfsd stop /etc/rc.d/rpcbind stop ... and the the same again with start in the reverse order? Thanks, David -- Much of the propaganda that passes for news in our own society is given to immobilising and pacifying people and diverting them from the idea that they can confront power. -- John Pilger