kanotix.com

Anwendungen - gelöst! openoffice auf NIS/NFS-Client streikt nach update

captagon - 21.09.2006, 15:31 Uhr
Titel: gelöst! openoffice auf NIS/NFS-Client streikt nach update
Nach dem Update auf Kanotix-2006-1 und nachträglicher Openoffice-Installation auf dem NIS/NFS-Client-Testrechner (nur die Homeordner werden vom NFS-Server exportiert) bleibt Openoffice beim Starten hängen. Es läuft bis zum Openoffice-Fenster, das unvollständig geladen wird, dann keine Reaktion mehr. Hat jemand eine Idee, wo man suchen könnte? (Mit KOffice gibt es diesbezüglich keine Probleme).

MfG T.
captagon - 22.09.2006, 14:22 Uhr
Titel: Re: openoffice auf NIS/NFS-Client streikt nach update
captagon hat folgendes geschrieben::
Nach dem Update auf Kanotix-2006-1 und nachträglicher Openoffice-Installation auf dem NIS/NFS-Client-Testrechner (nur die Homeordner werden vom NFS-Server exportiert) bleibt Openoffice beim Starten hängen. Es läuft bis zum Openoffice-Fenster, das unvollständig geladen wird, dann keine Reaktion mehr. Hat jemand eine Idee, wo man suchen könnte? (Mit KOffice gibt es diesbezüglich keine Probleme).

MfG T.


So, selbst gefunden.
Da ich den Prozess /usr/lib/openoffice/program/soffice killen musste habe ich dort nochmal nachgesehen (in /usr/lib/openoffice/readme) Und siehe da- der Fehler wird von Openoffice selbst beschrieben:

File Locking
------------------------------------------------------------

In the default setting, file locking is turned on in OpenOffice.org. To deactivate it, you have to set the appropriate environment variables SAL_ENABLE_FILE_LOCKING=0 and export SAL_ENABLE_FILE_LOCKING. These entries are already in enabled form in the soffice script file.

Warning: The activated file locking feature can cause problems with Solaris 2.5.1 and 2.7 used in conjunction with Linux NFS 2.0. If your system environment has these parameters, we strongly recommend that you avoid using the file locking feature. Otherwise, OpenOffice.org will hang when you try to open a file from a NFS mounted directory from a Linux computer.


Lösung:

-> su
-> mcedit /usr/lib/openoffice/program/soffice

die folgenden zwei Zeilen sollten so kommentiert werden:

#SAL_ENABLE_FILE_LOCKING=1
#export SAL_ENABLE_FILE_LOCKING

<F2>
<F10>

MfG T.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007