Dimosthenis,
I have not been able to successfully install Centos so I have no
experience with OpenMeetings in Centos. These days my preferred OS is
32 bit Debian, but that is just a personal choice.
What do you get on your OpenMeetings server if you run the following two
commands as root ?
find / -name soffice.bin
ls -al /usr/lib64/openoffice.org3/program
Just wanted to check if you have Office installed OK and that the path
you specified is actually correct
I recommend setting the path for swftools to the path returned by the
command
find / -name pdf2swf
Recently when trying to build swftools 9.x we had to remove -o and -L
from the Make and Make.in files in the build directories, in order to
get the build of swftools to complete. (this was in Debian though).
I ran the following steps and then got the below error message;
./configure >../swfconfigure.log 2>&1
make >../debswfmake.log 2>&1
make install >../debswfinst.log
The "make install" generated the following error message and then
stopped.
rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L
/usr/local/share/swftools/swfs/default_viewer.swf
rm: invalid option -- 'o'
Try `rm --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/adm/swftools/swftools-0.9.2/swfs'
make: *** [install] Error 2
Using the below search line, I located the files swfs/Make and
swfs/Make.in
find . -type f -name "*.*" -print0 | xargs -0 -e grep -nH -e
"default_viewer.swf"
In these files were the lines;
rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L
$(pkgdatadir)/swfs/default_viewer.swf
$(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf
$(pkgdatadir)/swfs/default_viewer.swf
rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L
$(pkgdatadir)/swfs/default_loader.swf
$(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf
$(pkgdatadir)/swfs/default_loader.swf
Thanks,
George Kirkham
From: Dimosthenis Trichakis [mailto:[email protected]]
Sent: Saturday, 7 July 2012 10:19 PM
To: [email protected]
Subject: Re: "invalid officeHome" error.
George thank you for the reply,
I have installed the openmeeting in debian without any problem but when
I try to installed it in Centos5 I have problems with paths etc. If I
leave empty the field "office.path" I'm getting the error "officeHome
not set and could not be auto-detected" during file conversion.
Also I have make a soft link to /usr/local/bin/ in pdf2swf as I found it
in /usr/bin without result.
I think on Monday I'm going to reinstall careful the project as I cannot
understand what is wrong :-(
Thanks again for all the replies,
Dimosthenis
On Sat, Jul 7, 2012 at 2:47 PM, George Kirkham <[email protected]>
wrote:
Dimosthenis,
>From your log output, invalid officeHome: it doesn't contain
soffice.bin: /usr/lib64/openoffice.org3/program", I wonder what you have
in the Configuration settings for "office.path" ? I do not put anything
in here as OpenMeetings can usually find the correct path. On my Ubuntu
(32 bit) OpenMeetings server, I have libreoffice installed and the below
"find" shows the path, not that I have this defined in OpenMeetings,
since it finds the path itself.
/# find / -name soffice.bin
/usr/lib/libreoffice/program/soffice.bin
root@chat:/#
Does a "ls -al /usr/lib64/openoffice.org3/program/soffice.bin" show the
file "soffice.bin" in this path?
Just to check, if you do a find on pdf2swf, is it located in the path
"/usr/local/bin/" ?
# find / -name pdf2swf
/usr/local/bin/pdf2swf
Thanks,
George Kirkham
From: Dimosthenis Trichakis [mailto:[email protected]]
Sent: Saturday, 7 July 2012 9:16 PM
To: [email protected]
Subject: Re: "invalid officeHome" error.
I correct the directory for the converter and now I'm getting:
Name: out
Value:
Name: exitValue
Value: 1
Name: command
Value: [java, -Doffice.home=/usr/lib64/openoffice.org3/program/, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/json
-20090211.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/unoi
l-3.2.1.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/juh-
3.2.1.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/comm
ons-cli-1.1.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/ridl
-3.2.1.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/comm
ons-io-1.4.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jodc
onverter-core-3.0-beta-4.jar, -cp,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jurt
-3.2.1.jar, -jar,
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jodc
onverter-core-3.0-beta-4.jar,
/usr/lib/red5/webapps/openmeetings/uploadtemp/files/adaefb3a343cd0a4bdc6
e449aed7c0bf.ppt,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf]
Name: error
Value: Exception in thread "main" java.lang.IllegalStateException:
invalid officeHome: it doesn't contain soffice.bin:
/usr/lib64/openoffice.org3/program
at
org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.b
uildOfficeManager(DefaultOfficeManagerConfiguration.java:167)
at
org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)
Name: process
Value: doJodConvert
Name: exitValue
Value: 0
Name: command
Value:
Name: completeName
Value: adaefb3a343cd0a4bdc6e449aed7c0bf.ppt
Name: error
Value:
Name: fileExplorerItemId
Value: 14
Name: process
Value:
Name: exitValue
Value: 0
Name: process
Value: generateXMLDocument
Name: out
Value:
Name: exitValue
Value: 127
Name: command
Value: [/usr/lib/convert, -thumbnail, 80,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/_thumb_page-%04d.jpg]
Name: error
Value: /usr/lib/convert: error while loading shared libraries:
libMagickCore.so.5: cannot open shared object file: No such file or
directory
Name: process
Value: generateBatchThumbByWidth
Name: out
Value:
Name: exitValue
Value: 1
Name: command
Value: [/usr/bin/pdf2swf, -s, insertstop, -s, poly2bitmap, -i, -j, 85,
-s, zoom=72,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf,
/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e449
aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.swf]
Name: error
Value: Error: Couldn't open file
'/usr/lib/red5/webapps/openmeetings/upload/files/adaefb3a343cd0a4bdc6e44
9aed7c0bf/adaefb3a343cd0a4bdc6e449aed7c0bf.pdf'
Name: process
Value: generateSwf
The library libMagickCore.so.5 exist in the same directory:
[root@comms lib]# find / -name libMagickCore.so.5
/usr/lib/libMagickCore.so.5
[root@comms ~]# find / -name convert
/usr/lib/convert
Any help please?