sg_reset_wp: 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 Debian possible default full paths are:

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

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