pgloader: 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/pgloader - from package: pgloader

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