grmid: 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 CentOS possible default full paths are:

/usr/bin/grmid - from package: libgcj

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/grmid - from package: gcj-jre-headless

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