masterha_check_repl: 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/masterha_check_repl - from package: mha4mysql-manager

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