pmpost: 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/libexec/pcp/bin/pmpost - from package: pcp

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

On Debian possible default full paths are:

/usr/lib/pcp/bin/pmpost - from package: pcp
/usr/bin/pmpost - from package: texlive-binaries

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