pg_controldata: 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_controldata - 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_controldata - from package: postgresql-9.4

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