gm-remove_person: 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

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/gm-remove_person - from package: gnumed-server

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