From owner-freebsd-net@FreeBSD.ORG Sun Apr 3 05:30:52 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 E057E106564A for ; Sun, 3 Apr 2011 05:30:51 +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 B1C048FC0C for ; Sun, 3 Apr 2011 05:30:51 +0000 (UTC) Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by hub.org (Postfix) with ESMTP id 40A1D3250A8B for ; Sun, 3 Apr 2011 02:30:50 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 16262-06 for ; Sun, 3 Apr 2011 05:30:50 +0000 (UTC) Received: by hub.org (Postfix, from userid 1002) id F19913250A7F; Sun, 3 Apr 2011 02:30:49 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hub.org (Postfix) with ESMTP id E577E3250A7E for ; Sun, 3 Apr 2011 02:30:49 -0300 (ADT) Date: Sun, 3 Apr 2011 02:30:49 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-net@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: 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: Sun, 03 Apr 2011 05:30:52 -0000 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