corosync-cpgtool: 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/sbin/corosync-cpgtool - from package: corosync

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

On Debian possible default full paths are:

/usr/sbin/corosync-cpgtool - from package: corosync
/usr/lib/debug/usr/sbin/corosync-cpgtool - from package: corosync-dbg

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