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

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