sg_rtpg: 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_rtpg - 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_rtpg - from package: sg3-utils

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