[SOLVED] Preview fails
PostPosted:Thu May 15, 2014 4:11 pm
Server version: Apache Tomcat/7.0.27
OS Name: Linux
OS Version: 2.6.32-431.el6.x86_64
Architecture: amd64
JVM Version: 1.7.0_40-b43
JVM Vendor: Oracle Corporation
Note: SELinux IS enabled.
When attempting to preview a document, I get the following error:
Conversion: IO exception executing command:
(and there is no command listed.
In the catalina.log file there is this, that seems related:
Thanks.
Jack
OS Name: Linux
OS Version: 2.6.32-431.el6.x86_64
Architecture: amd64
JVM Version: 1.7.0_40-b43
JVM Vendor: Oracle Corporation
Note: SELinux IS enabled.
When attempting to preview a document, I get the following error:
Conversion: IO exception executing command:
(and there is no command listed.
In the catalina.log file there is this, that seems related:
Code: Select all
This may also be helpful:Caused by: java.io.IOException: Cannot run program "": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at com.openkm.util.ExecutionUtils.runCmdImpl(ExecutionUtils.java:257)
at com.openkm.util.ExecutionUtils.runCmd(ExecutionUtils.java:237)
at com.openkm.util.DocConverter.pdf2swf(DocConverter.java:472)
... 42 moreCode: Select all
And because it's selinux:ls -l /opt/openkm-6.2.5-community/tomcat/bin/pdf2swf
-rwxrwxr-x. 1 root root 4027300 Apr 3 2013 /opt/openkm-6.2.5-community/tomcat/bin/pdf2swfCode: Select all
Is SELinux the problem?ls -ladZ /opt/openkm-6.2.5-community/tomcat/bin/pdf2swf
-rwxrwxr-x. root root unconfined_u:object_r:usr_t:s0 /opt/openkm-6.2.5-community/tomcat/bin/pdf2swfThanks.
Jack