2016-05-10 4 views
0

私はcentos-release-6-7.el6.centos.12.3.x86_64でfallowingコマンドを実行しました。コマンドステータス:0 docファイルを取得しました。しかし CentOSのリリース - 6-3.el6.centos.9.x86_64 コマンド:ヘッドレスを使用してDocxをDocに変換

libreoffice5.0 --headless --convert-to doc /temp/14628614434896/146286144349.docx --outdir /temp/14628614434896 

コマンドの状態:19712 私も生成されない任意のエラーやファイルを得ることはありません。

答えて

0
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" 

ここで、ヘッドレスを使用してDocxをDocに変換するコマンドを実行します。

関連する問題