Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Fixed OpenOffice General input/output error on NFS share

  1. #1
    Join Date
    May 2005
    Location
    Holland
    Beans
    139
    Distro
    Kubuntu 6.10 Edgy

    Fixed OpenOffice General input/output error on NFS share

    Hi I've suffered from a rare error with OpenOffice2.1 in combination with NFS! Whenever i saved a file to a NFS share I got the General input/output error from OpenOffice, saving to the local disk did work perfectly
    Whenever I opened a file from a NFS share OpenOffice opened it in read only mode!

    This problem did occur after I've installed and removed the NFS kernel server on the client side and I've tried to configure file sharing with the KDE applet. (After this I uninstalled the NFS kernel server ).

    The next day I discovered that my machine wasn't able to save to the NFS share and opened all the documents read only!

    My dirty solution
    After Googling the net for a solution the only thing I found was disabling the locking function of OpenOffice. Below I've described how you can do this:

    1. Open the soffice file with your editor (I used nano)
    Code:
    nano /etc/openoffice.org-2.1/program/soffice
    2. search for this line: SAL_ENABLE_FILE_LOCKING=1 (line 43)
    3. Comment the SAL_ENABLE_FILE_LOCKING=1 and export SAL_ENABLE_FILE_LOCKING lines out by placing a '#' in front of it.
    So it looks like this:
    Code:
    # file locking now enabled by default
    #SAL_ENABLE_FILE_LOCKING=1
    #export SAL_ENABLE_FILE_LOCKING
    4. Save and close the file and restart OpenOffice!

    Info about my client system:
    Ubuntu Edgy (32 bit)
    OpenOffice 2.1 ( unofficial Alient version)

    My source of information:
    http://lists.freebsd.org/pipermail/f...ly/002525.html

    Please don't hazatate to ask questions I'm not an expert what Ubunt NFS and OpenOffice concerned but maybe I can help.

    If you have a better solution or have used mine please leave a message

    chears Robert

  2. #2
    Join Date
    May 2005
    Location
    Holland
    Beans
    139
    Distro
    Kubuntu 6.10 Edgy

    Fixed OpenOffice General input/output error on NFS share

    Hi I've suffered from a rare error with OpenOffice2.1 in combination with NFS! Whenever i saved a file to a NFS share I got the General input/output error from OpenOffice, saving to the local disk did work perfectly
    Whenever I opened a file from a NFS share OpenOffice opened it in read only mode!

    This problem did occur after I've installed and removed the NFS kernel server on the client side and I've tried to configure file sharing with the KDE applet. (After this I uninstalled the NFS kernel server ).

    The next day I discovered that my machine wasn't able to save to the NFS share and opened all the documents read only!

    My dirty solution
    After Googling the net for a solution the only thing I found was disabling the locking function of OpenOffice. Below I've described how you can do this:

    1. Open the soffice file with your editor (I used nano)
    Code:
    nano /etc/openoffice.org-2.1/program/soffice
    2. search for this line: SAL_ENABLE_FILE_LOCKING=1 (line 43)
    3. Comment the SAL_ENABLE_FILE_LOCKING=1 and export SAL_ENABLE_FILE_LOCKING lines out by placing a '#' in front of it.
    So it looks like this:
    Code:
    # file locking now enabled by default
    #SAL_ENABLE_FILE_LOCKING=1
    #export SAL_ENABLE_FILE_LOCKING
    4. Save and close the file and restart OpenOffice!

    Info about my client system:
    Ubuntu Edgy (32 bit)
    OpenOffice 2.1 ( unofficial Alient version)

    My source of information:
    http://lists.freebsd.org/pipermail/f...ly/002525.html

    Please don't hazatate to ask questions I'm not an expert what Ubunt NFS and OpenOffice concerned but maybe I can help.

    If you have a better solution or have used mine please leave a message

    chears Robert

  3. #3
    Join Date
    Aug 2005
    Location
    Edmonton, Alberta, Canada
    Beans
    2

    Re: Fixed OpenOffice General input/output error on NFS share

    Try installing nfs-common, instead...

    The problem is that file locking over NFS requires that 'statd' (actually /sbin/rpc.statd) be running; the nfs-common package arranges for this to be done.

  4. #4
    Join Date
    May 2005
    Location
    Holland
    Beans
    139
    Distro
    Kubuntu 6.10 Edgy

    Re: Fixed OpenOffice General input/output error on NFS share

    Well I allready had the nfs-common package but thanks for your reply
    maybe it helps somebody else out

  5. #5

    Re: Fixed OpenOffice General input/output error on NFS share

    I have the same problem and I tried all things above but still can't open files
    Dose anyone have suggestions?

    Info about my system:
    Ubuntu Edgy (AMD64)
    OpenOffice.org 2.0.4

    Please help.
    Last edited by cikson; January 28th, 2007 at 03:10 AM.
    If you can't understand it, it is intuitively obvious.
    When all else fails, read the instructions.

  6. #6
    Join Date
    Jun 2006
    Location
    Atlanta
    Beans
    358
    Distro
    Ubuntu

    Re: Fixed OpenOffice General input/output error on NFS share

    neither solution worked for me either.
    Intel Core i7-2600K | Corsair Hydro H80 Cooler | ASUS P8Z68-V board | Corsair Obsidian 650 case | CORSAIR Pro HX650 | CORSAIR Vengeance 8GB DDR3-1866 | GIGABYTE Radeon HD 6870 1GB | Intel 510 120GB SSD | WD Green 640GB | Dell Ultrasharp U2713HM LED

  7. #7
    Join Date
    Apr 2006
    Location
    Claremont CA
    Beans
    292
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: Fixed OpenOffice General input/output error on NFS share

    Hi, and thanks for the fix,
    the only deviation I had was the file you mentioned on my systems was here:
    vi /usr/lib/openoffice/program/soffice

    a question for the other poster that issue wasn't resolved, are you using nfs to mount /home?

  8. #8

    Re: Fixed OpenOffice General input/output error on NFS share

    Quote Originally Posted by mbradlcu View Post
    a question for the other poster that issue wasn't resolved, are you using nfs to mount /home?
    No
    If you can't understand it, it is intuitively obvious.
    When all else fails, read the instructions.

  9. #9
    Join Date
    Jun 2006
    Location
    Atlanta
    Beans
    358
    Distro
    Ubuntu

    Re: Fixed OpenOffice General input/output error on NFS share

    Quote Originally Posted by mbradlcu View Post
    Hi, and thanks for the fix,
    the only deviation I had was the file you mentioned on my systems was here:
    vi /usr/lib/openoffice/program/soffice

    a question for the other poster that issue wasn't resolved, are you using nfs to mount /home?
    yes, but your solution worked.
    Last edited by Dubbayoo; February 28th, 2007 at 03:26 AM.
    Intel Core i7-2600K | Corsair Hydro H80 Cooler | ASUS P8Z68-V board | Corsair Obsidian 650 case | CORSAIR Pro HX650 | CORSAIR Vengeance 8GB DDR3-1866 | GIGABYTE Radeon HD 6870 1GB | Intel 510 120GB SSD | WD Green 640GB | Dell Ultrasharp U2713HM LED

  10. #10
    Join Date
    Mar 2007
    Beans
    1

    Re: Fixed OpenOffice General input/output error on NFS share

    The nfs-common package will already be loaded on the server but it also needs to be loaded onto the client computer that is running openoffice.

    I just loaded this package and it solved the problem for me.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •