wmii.rc: 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/wmii.rc - from package: wmii

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