msgfmt.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/lib/mailman/bin/msgfmt.py - from package: mailman
/usr/bin/msgfmt.py - from package: python-tools

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