nscgi.so: 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/lib/aolserver4/bin/nscgi.so - from package: aolserver4-daemon

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