
On Thu, Jul 11, 2013 at 10:03:54AM +1000, Bob wrote:
I am using Libre Office wordprocessor on Kubuntu 13.04. My data is stored on a NAS (Synology DS213+) and accesses using NFS.
When trying to access files from the NAS, LibreOffice locks up and freezes. There are no problems with any other programs accessing data (including Email etc) . Copying a file to the local computer allows it to be opened OK by LibreOffice, so it appears to be a problem with LibreOffice and networking.
that sounds very much like an NFS locking problem. Libre Office is trying to lock the file so it has exclusive Write access to it while it's open.
I upgraded Kubuntu from 12.10 to 13.04 and upgraded the NAS (from a DS209) at about the same time so can't be certain which one is causing the problem. However, as all other programs are accessing OK I would suspect it is LibreOffice.
most other programs probably aren't trying to get an exclusive lock on the opened files.
Has anyone else experienced this? Anywhere I should look?
a google search for 'libre office NFS freeze' reveals the following as the first result. It's for Open Office rather than Libre Office, but they're both forked from the same code base: http://forum.openoffice.org/en/forum/viewtopic.php?f=16&t=40846 it's from back in 2011, so it might not be the same problem. it links to another post on ubuntuforums.org, which suggests either a) mounting the NFS share with the 'nolock' option, to disable locking or b) modifying the wrapper script that starts up Libre Office so that the 'SAL_ENABLE_FILE_LOCKING=1' variable setting is commented out. I'd guess setting it to 0 would work as well. http://ubuntuforums.org/showthread.php?t=1645957 craig -- craig sanders <cas@taz.net.au> BOFH excuse #50: Change in Earth's rotational speed