ldif2db-online: 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

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

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