Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 21:48:22 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Gerard Samuel <fbsd-questions@trini0.org>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: NFS & File Locking on FBSD 5.3
Message-ID:  <41E43B96.7070801@locolomo.org>
In-Reply-To: <41E4392D.6060500@trini0.org>
References:  <41E4266A.2020307@trini0.org> <41E4392D.6060500@trini0.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

> 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?

Cheers, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E43B96.7070801>