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

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

On Debian possible default full paths are:

/usr/bin/pmlogger - from package: pcp
/usr/lib/pcp/bin/pmlogger - from package: pcp

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