logfactor5: 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/logfactor5 - from package: log4j

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