index.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/otrs/bin/cgi-bin/index.pl - from package: otrs2
/usr/share/otrs/bin/fcgi-bin/index.pl - from package: otrs2

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