masterha_check_status: 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_status - from package: mha4mysql-manager

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