[TAG] NFS file locking?
lpitcher at sympatico.ca
Fri Oct 21 04:30:56 MSD 2005
On October 20, 2005 16:04, Karl-Heinz Herrmann wrote:
> I ran into a weird problem today. For some time now gimp complains about
> "permission denied" when it tries to lock files and today openoffice 2.0
> refused to write its config and documents. soffice seems to open the
> file for read to check if it exists already, closes the handle and
> reopens with a lock flag set -- which fails with "permission denied".
> Don't have the exact strace here right now, but can send it tomorrow.
> Any ideas?
Check to see if rpc.lockd and rpc.statd are running on your local system. If
they aren't running, start them, and try your OOo NFS edit again.
I opened an incident with OpenOffice on this problem back with one of the OOo2
betas (OOo 1.9.95, iirc), and the answer came back that it was likely a
misconfigured NFS client setup.
I looked around, and found some instructions, and lo and behold, my distro had
stopped setting up the client side properly one or two upgrades ago. Next
release, they correct it, but for now I have
if [ -x /usr/sbin/rpc.lockd ]; then
if [ -x /usr/sbin/rpc.statd ]; then
buried in my /etc/rc.d/rc.local
That seems to have fixed the problem; no more "General I/O error"s when OOo2
tries to lock an NFS-distributed file.
Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.linuxgazette.net/mailman/private/tag/attachments/20051020/2a3a4935/attachment-0001.pgp
More information about the TAG