我在centos-release-6-7.el6.centos.12.3.x86_64上运行了fallowing命令,我们得到命令状态:0doc file gernrated。但是centos-release-6-3.el6.centos.9.x86_64命令:
libreoffice5.0 --headless --convert-to doc /temp/14628614434896/146286144349.docx --outdir /temp/14628614434896命令状态: 19712我没有得到任何错误和文件也没有生成。
发布于 2016-10-11 17:03:01
1.command : "sudo /etc/init.d/libreoffice start" this command start the libreoffice.
2.Use command to check libreoffice Port status: if it is not open Above command is not generating desired output.
command: "netstat -ant | grep 8100"
status : "tcp 0 0 0.0.0.0:8100 0.0.0.0:* LISTEN" 现在运行您的命令,使用headless将Docx转换为Doc。
https://stackoverflow.com/questions/37131389
复制相似问题