slonik_build_env: 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/bin/slonik_build_env - from package: slony1-2-bin

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