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

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