fence_xenapi: 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/fence_xenapi - from package: fence-agents

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