remove-ds-admin.pl: 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/sbin/remove-ds-admin.pl - from package: 389-admin

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