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

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

On Debian possible default full paths are:

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

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