# MHA for Mysql error masterha\_check\_repl

**URL:** <https://forums.percona.com/t/mha-for-mysql-error-masterha-check-repl/5023>\
**Category:** Other Tools\
**Created:** [August 7, 2016, 12:49pm UTC](https://forums.percona.com/t/mha-for-mysql-error-masterha-check-repl/5023 "2016-08-07T12:49:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorgeislas](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jorgeislas](https://forums.percona.com/u/jorgeislas)\
**Post date:** [August 7, 2016, 12:49pm UTC](https://forums.percona.com/t/mha-for-mysql-error-masterha-check-repl/5023/1 "2016-08-07T12:49:37Z")

</div>

I am configuring MHA for mysql, i have tested masterha\_check\_ssh /etc/app1.cnf and my SSH connections are OK, but when im trying masterha\_check\_repl /etc/app1.cnf i got some errors Redundant argument in sprintf at …/MasterMonitor.pm ln427, NodeUtil.pm 190, Error happend on monitoring servers (Got exit code 1 (No master dead)).  
The thing i got this error even when i confirmed that mysql replication is working i tested it but if i run masterha\_check\_repl is not running, what i can review any advise.

thanks!!

 ![check_repl.JPG](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/e/e757fa7046381d7184b37d4ed23a661b06c5e3a2.jpeg)

---

<div class="post-metadata">

**Author:** ![omair](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@omair](https://forums.percona.com/u/omair)\
**Post date:** [February 22, 2018, 11:19am UTC](https://forums.percona.com/t/mha-for-mysql-error-masterha-check-repl/5023/2 "2018-02-22T11:19:58Z")

</div>

It probably is related to the perl version that is being used on your machine. A quick hack is to disable use warnings FATAL =\> ‘all’; statements in the package files and try it out.
