Page 1 of 1

Solution for auto preview malfunction

PostPosted:Sat Sep 15, 2012 2:27 am
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.

Re: Solution for auto preview malfunction

PostPosted:Sat Sep 15, 2012 2:16 pm
by jllort
thanks for the contribution