sg_reset: 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_reset - 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_reset - from package: sg3-utils

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