generate_randfile: 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 CentOS possible default full paths are:

/usr/bin/generate_randfile - from package: bonnie++

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/generate_randfile - from package: bonnie++

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