uim-xim: 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/uim-xim - from package: uim-xim

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