masterha_master_switch: 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_master_switch - from package: mha4mysql-manager

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