sg_map: 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_map - 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_map - from package: sg3-utils

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