ooffice: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/ooffice - from package: libreoffice-core

You may install the required package with command yum install {package}
Error in other languages:
ooffice: bevel nie gevind nie
ooffice: comandă negăsită
ooffice: comando não encontrado
ooffice: commande introuvable
ooffice: command not found
ooffice: käsku ei ole
ooffice: không tìm thấy lệnh
ooffice: komanda nerasta
ooffice: Kommando nicht gefunden.
ooffice: kommandot finns inte
ooffice: komut yok
ooffice: nie znaleziono polecenia
ooffice: níor aimsíodh an t-ordú
ooffice: no se encontró la orden
ooffice: no s'ha trobat l'ordre
ooffice: opdracht niet gevonden
ooffice: parancs nem található
ooffice: perintah tidak ditemukan
ooffice: príkaz nenájdený
ooffice: příkaz nenalezen
ooffice: команда не найдена
ooffice: командата не е открита
ooffice: 命令找不到
ooffice: コマンドが見つかりません