NFS & File Locking on FBSD 5.3
Erik Norgaard
norgaard at locolomo.org
Tue Jan 11 12:48:25 PST 2005
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
More information about the freebsd-questions
mailing list