ad-context-server.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 Debian possible default full paths are:

/usr/share/dotlrn/bin/ad-context-server.pl - from package: dotlrn
/usr/share/openacs/bin/ad-context-server.pl - from package: openacs

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