opannotate: 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

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/opannotate - from package: oprofile

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