• Solution for auto preview malfunction

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #18458  by turtleizzy
 
I encountered exactly the same problem mentioned in http://forum.openkm.com/viewtopic.php?f=4&t=5729. It was possible to auto-preview pdf files, however unable to preview doc and ppt files. The debug log indicated that system was unable to start soffice daemon. I googled for a whole night and found no valid solution.

I tried running soffice.bin by following command
Code: Select all
/opt/openoffice.org3/program/soffice.bin -headless -accept="socket, host=127.0.0.1, port=2231; urp;"
and the output message was
Code: Select all
/opt/openoffice.org3/program/soffice.bin: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory
Install the missing library by following command
Code: Select all
sudo yum install  libXext.so.6
The problem disappeared.

(OS: CentOS 6.1, Office version: OOo 3.2.1 64-bit)

Update: OOo 3.4.1 tested, and failed (for unknown reason..). If your office version is above 3.2.1 and the problem remained after trying this solution, you may try downgrading your OpenOffice to 3.2.1.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.