spock: 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

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/spock - from package: python-sardana

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