From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 21:33:28 2005 Return-Path: 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 4BB8716A4CE for ; Tue, 11 Jan 2005 21:33:28 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAADC43D3F for ; Tue, 11 Jan 2005 21:33:27 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc11) with ESMTP id <200501112133260110037t2je>; Tue, 11 Jan 2005 21:33:27 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id 5B01560C6; Tue, 11 Jan 2005 16:33:26 -0500 (EST) Message-ID: <41E44628.1010405@trini0.org> Date: Tue, 11 Jan 2005 16:33:28 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 1.0 (X11/20050105) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Norgaard References: <41E4266A.2020307@trini0.org> <41E4392D.6060500@trini0.org> <41E43B96.7070801@locolomo.org> In-Reply-To: <41E43B96.7070801@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions Subject: Re: NFS & File Locking on FBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2005 21:33:28 -0000 Erik Norgaard wrote: > Gerard Samuel wrote: > >> Gerard Samuel wrote: >> >>> Whats needed to enable file locking on FBSD 5.3? >>> I already had NFS running, so I added this to the >>> server's rc.conf file -> >>> rpc_lockd_enable="YES" >>> and rebooted. >> >> >> I just noticed this in the logs -> >> Jan 11 15:23:37 hivemind rpcbind: cannot create socket for udp6 >> Jan 11 15:23:38 hivemind rpc.lockd: 100024 RPC: Program not registered >> >> I've googled a bit, and Im coming up with references that >> IP6 doesn't have to built into the kernel, of which I do not have it >> built in the kernel anyway. >> Im not sure of what else to do to get lockd running. > > > Well, I guess google haven't searched the archives resently. I wrote > just yesterday (NFS export of evolution-thread) that you need to > enable statd _and_ lockd. lockd will not start without statd enabled. > You don't need to reboot, just > > /etc/rc.d/nfslocking restart Thanks for the tip. It seems to be running now. $ ps aux | grep lockd root 361 0.0 0.2 1632 1292 ?? Ss 4:23PM 0:00.01 /usr/sbin/rpc.lockd daemon 372 0.0 0.2 1632 1292 ?? S 4:23PM 0:00.00 /usr/sbin/rpc.lockd > >> rpcbind_enable="YES" >> nfs_server_enable="YES" >> mountd_flags="-r" >> rpc_lockd_enable="YES" > > > I don't see you have enabled mountd, but you had nfs running and > mounted succesfully? - or maybe just a typo copy/paste? The config is correct, according to the manual. Never had a problem with it (knocks on wood) Now to go test if php will work now...