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

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