iscsi-iname: 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:

/sbin/iscsi-iname - from package: iscsi-initiator-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/iscsi-iname - from package: open-iscsi

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