389-console: 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 CentOS possible default full paths are:

/usr/bin/389-console - from package: 389-console

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/389-console - from package: 389-console

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