From owner-freebsd-net@FreeBSD.ORG Mon Apr 4 18:09:24 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E20D1065670 for ; Mon, 4 Apr 2011 18:09:24 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 2F1D48FC08 for ; Mon, 4 Apr 2011 18:09:23 +0000 (UTC) Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by hub.org (Postfix) with ESMTP id 665263250A8B for ; Mon, 4 Apr 2011 15:09:22 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 76710-04 for ; Mon, 4 Apr 2011 18:09:22 +0000 (UTC) Received: by hub.org (Postfix, from userid 1002) id 1AAA03250A87; Mon, 4 Apr 2011 15:09:22 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hub.org (Postfix) with ESMTP id 1316C3250A81 for ; Mon, 4 Apr 2011 15:09:22 -0300 (ADT) Date: Mon, 4 Apr 2011 15:09:21 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-net@freebsd.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: 7-STABLE NFS: fatal: "select lock: Permission denied" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 18:09:24 -0000 'k, based on someone else's recommendation, I add 'nolockd' to the mount entry,a nd postfix now appears to work ... since I can safely guarantee that only the one host will have access to these files, that doesn't pose a porblem for me, but still find it a weird issue all things considered :( On Sun, 3 Apr 2011, Marc G. Fournier wrote: > > I'm trying to simulate a diskless boot of FreeBSD, as am looking at moving to > a more 'thin client' environment, using a Netapp as a filer to provide the > file systems for FreeBSD front ends ... > > To simulate this, I have two servers, both running 7-STABLE, one acting as > the nfs server (ie. simulated netapp), and the other the client ... > > Both servers have a private and a public IP ... the nfs traffic is over the > private network ... > > Initially, had issues with lockd that I got resolved ... > > Settings in /etc/rc.conf on server are: > > rpcbind_enable="YES" > rpcbind_flags="-h 192.168.1.9" > nfs_server_enable="YES" > mountd_enable="YES" > mountd_flags="-r -h 192.168.1.9" > nfs_server_flags="-u -n 8 -h 192.168.1.9" > rpc_statd_enable="YES" > rpc_lockd_enable="YES" > > Settings in /etc/rc.conf on the client are: > > rpcbind_enable="YES" > rpcbind_flags="-h 192.168.1.1" > rpc_lockd_enable="YES" > rpc_statd_enable="YES" > > === > > /etc/fstab on the client has: > > 192.168.1.9:/vm /vm nfs rw,noauto,intr 0 0 > > /etc/exports on the server has: > > /vm -network 192.168.1.0/24 -maproot=0 -alldirs > > === > > Now, to simulate the diskless, I built a jail on top of the mounted /vm ... > that worked fine ... > > I have several applications built and installed on it ... primarily, apache > 2.2 and postfix 2.7.x ... > > Apache 2.2 + mod_fcgi + php 5.3.6 *appears* to work fine ... > > Postfix, on the other hand, generates the error message in the subject line > when I try and run 'mailq': > > postfix/showq[19805]: fatal: select lock: Permission denied > > Since the handbook as a section on diskless boot in Chapter 31: > > http://www.freebsd.org/doc/handbook/network-diskless.html > > I assumed / hoped that things would run just fine ... am I wrong in that > assumption? Or have I just overlooked a key setting in getting the nfs to > work? > > Any suggestions / pointers are most welcome ... > > ---- > Marc G. Fournier Hub.Org Hosting Solutions S.A. > scrappy@hub.org http://www.hub.org > > Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. scrappy@hub.org http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org