pg_recvlogical: 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/lib/postgresql/9.4/bin/pg_recvlogical - from package: postgresql-client-9.4
/usr/bin/pg_recvlogical - from package: postgresql-client-common

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