scriptindex: 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/bin/scriptindex - from package: xapian-omega

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