osgspotlight: 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/osgspotlight - from package: openscenegraph

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