genmsg_py.py: 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/genmsg_py.py - from package: python-genpy

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