targetcli: 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/targetcli - from package: fcoe-target-utils

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