ui-auto-sp2ui: 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/ui-auto-sp2ui - from package: ui-auto

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