sg_sync: 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_sync - 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_sync - from package: sg3-utils

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