ocf-tester: 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 Debian possible default full paths are:

/usr/sbin/ocf-tester - from package: resource-agents

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