pamoil: 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/pamoil - from package: netpbm-progs

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

On Debian possible default full paths are:

/usr/bin/pamoil - from package: netpbm

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