sg_ses: 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_ses - 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_ses - from package: sg3-utils

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