policyd-weight: 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 Debian possible default full paths are:

/usr/sbin/policyd-weight - from package: policyd-weight

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