pg_ctl: 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/pg_ctl - from package: postgresql-server

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

On Debian possible default full paths are:

/usr/lib/postgresql/9.4/bin/pg_ctl - from package: postgresql-9.4

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