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

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