sg_get_config: 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_get_config - 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_get_config - from package: sg3-utils

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