The fix for me was to mount the NFS volume 'nolock' in /etc/fstab, e.g:
LibreOffice fails to open files in NFS volume: 192.168.1.1:/home/fernan /home/fernan/nfs-mount/ nfs noexec,nosuid,bg 0 1
LibreOffice now successfully reads/writes files from/to NFS volume: 192.168.1.1:/home/fernan /home/fernan/nfs-mount/ nfs noexec,nosuid,nolock,bg 0 1
I can't confirm, however, the workaround proposed by htgoebel. Neither commenting out the following (in /usr/lib/libreoffice/program/soffice):
# file locking now enabled by default SAL_ENABLE_FILE_LOCKING=1 export SAL_ENABLE_FILE_LOCKING
Nor setting SAL_ENABLE_FILE_LOCKING=0
Nor changing the locking configuration in /etc/libreoffice/soffice.sh to FILE_LOCKING=no worked
This is now on Ubuntu 12.04 LTS My NFS server (FreeBSD) remains at 6.4 (RELENG_6_4) as reported previously.
Hope this helps more people.
The fix for me was to mount the NFS volume 'nolock' in /etc/fstab, e.g:
LibreOffice fails to open files in NFS volume: 1.1:/home/ fernan /home/fernan/ nfs-mount/ nfs noexec,nosuid,bg 0 1
192.168.
LibreOffice now successfully reads/writes files from/to NFS volume: 1.1:/home/ fernan /home/fernan/ nfs-mount/ nfs noexec, nosuid, nolock, bg 0 1
192.168.
I can't confirm, however, the workaround proposed by htgoebel. Neither commenting out the following (in /usr/lib/ libreoffice/ program/ soffice) :
# file locking now enabled by default FILE_LOCKING= 1 FILE_LOCKING
SAL_ENABLE_
export SAL_ENABLE_
Nor setting SAL_ENABLE_ FILE_LOCKING= 0
Nor changing the locking configuration in /etc/libreoffic e/soffice. sh to FILE_LOCKING=no worked
This is now on Ubuntu 12.04 LTS
My NFS server (FreeBSD) remains at 6.4 (RELENG_6_4) as reported previously.
Hope this helps more people.