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

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

On Debian possible default full paths are:

/usr/bin/sg_luns - from package: sg3-utils

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