grail-test-3-1: 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/bin/grail-test-3-1 - from package: grail-tools

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