tomoyo-setprofile: 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/sbin/tomoyo-setprofile - from package: tomoyo-tools

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