sg_read_long: 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_read_long - 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_read_long - from package: sg3-utils

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