ctdb_randrec: 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/lib/ctdb/tests/bin/ctdb_randrec - from package: ctdb-dbg

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