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

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