dbgen: 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/dbgen - from package: 389-ds-base

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