restorecon: 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:

/sbin/restorecon - from package: policycoreutils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/sbin/restorecon - from package: policycoreutils

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