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

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