CentOs6364-bit installation of libreoffice411 due to server problems, the original Ubuntu32-bit system was replaced with CentOs6364-bit, which encountered some problems when installing libreoffice. First, the installed libreoffice version is LibreOffice_4123_Linux_x86_rpm (CentOs6.3 64-bit installation of libreoffice4.1.1 due to server problems, replace the original Ubuntu 32-bit system with CentOs6.3 64-bit, some problems were encountered when installing libreoffice. First, the installed libreoffice version is LibreOffice_4.1.2.3_Linux_x86_rpm (the installation steps are omitted here because there are problems after installation ), after installation, the default directory of the system is/usr/lib64/libreoffice (ubuntu 32-bit is in/usr/lib/libreoffice ). the project calls the libreoffice conversion document (doc, docx, pdf, txt, excel...) by using commands ....) produce pdf documents and convert them into swf files so that they can be viewed on the webpage (doc, docx, pdf, txt, excel .... ---> pdf --> swf) when libreoffice is called in the background, the Exception thrown is: Exception in thread "main" org. artofsolving. jodconverter. office. officeException: failed to start and con Nectat org. artofsolving. jodconverter. office. managedOfficeProcess. stopAndWait (ManagedOfficeProcess. java: 77) at org. artofsolving. jodconverter. office. pooledOfficeManager. stop (PooledOfficeManager. java: 108) at org. artofsolving. jodconverter. office. processPoolOfficeManager. stop (ProcessPoolOfficeManager. java: 91) at com. lexmark. pws. aps. pe. handler. impl. officeConnectorUtil. closeConnection (OfficeConnectorUtil. ja Va: 86) at com. lexmark. pws. aps. pe. thumbnailEngine. main (ThumbnailEngine. java: 65) Caused by: java. util. concurrent. executionException: org. artofsolving. jodconverter. office. officeException: cocould not establish connection at java. util. concurrent. futureTask $ Sync. innerGet (FutureTask. java: 252) at java. util. concurrent. futureTask. get (FutureTask. java: 111) at org. artofsolving. jodconverter. office. managedOfficePro Cess. startAndWait (ManagedOfficeProcess. java: 62 )... 79 more Caused by: org. artofsolving. jodconverter. office. officeException: cocould not establish connection at org. artofsolving. jodconverter. office. managedOfficeProcess. doStartProcessAndConnect (ManagedOfficeProcess. java: 142) but I found a lot of information on the Internet, re-installing, uninstalling, and installing related packages ...... however, the error persists and there is no clear solution. There are also some materials that are about permission issues. it would be nice to change it, but it will not work after the test. So I thought about changing the version, and then the miracle came into being. Step 1: Download LibreOffice 4.1.1For RHEL/CentOS/Fedora 32-Bit # cd/tmp # wget http://download.documentfoundation.org/libreoffice/stable/4.1.1/rpm/x86/LibreOffice_4.1.1_Linux_x86_rpm.tar.gzFor RHEL/CentOS/Fedora 64-Bit # cd/tmp # wget http://download.documentfoundation.org/libreoffice/stable/4.1.1/rpm/x86_64/LibreOffice_4.1.1_Linux_x86-64_rpm.tar.gz Step 2: delete the installed libreoffice or openoffice # yum remove openoffice.org * libreoffice.org * Step 3: unzip the LibreOffice 4.1.1 installation package ### For 32-Bit OS ### tar-xvf libreoffice_4.1.20.linux_x86_rpm.tar.gz ## For 64-Bit OS ### tar-xvf LibreOffice_4.1.1_Linux_x86-64_rpm.tar.gz Step 4: install LibreOffice 4.1.1 Package # For 32 Bit OS ### cd/tmp/LibreOffice_4.1.1_Linux_x86_rpm/RPMS/# yum localinstall *. rpm # yum localinstall desktop-integration/libreoffice4.0-freedesktop-menus-4.1.1 *. noarch. rpm # For 64 Bit OS # cd/tmp/LibreOffice_4.1.1_Linux_x86-64_rpm/RPMS/# yum localinstall *. rpm # yum localinstall desktop-integration/libreoffice4.0-freedesktop-menus-4.1.1 *. noarch. rpmPS: libreoffice4.0-freedesktop-menus-4.1.1 *. noarch. rpm path: some are in the RPMS/desktop-integration directory, and some are in RPMS. however, you can directly install it in that directory. step 5: start LibreOffice 4.1.1 # libreoffice4.1 in terminal. to sum up, the solution to this problem is to change the version. what is the problem? it is not found. if you find a friend, you can share the solution.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.