michealzh / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

Error happend on checking configurations. Use of uninitialized value in string eq /usr/share/perl5/vendor_perl/MHA/Server.pm line 235. #89

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. just starting the tool with the config

What is the expected output? What do you see instead?
Thu Jun  5 13:52:46 2014 - 
[error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln386] Error happend 
on checking configurations. Use of uninitialized value in string eq at 
/usr/share/perl5/vendor_perl/MHA/Server.pm line 235.
Thu Jun  5 13:52:46 2014 - 
[error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln482] Error 
happened on monitoring servers.

Expected no error

What version of the product are you using? On what operating system?
[info] MHA::MasterMonitor version 0.55.
with mariadb 10

full log:
Thu Jun  5 13:52:46 2014 - [info] MHA::MasterMonitor version 0.55.
Thu Jun  5 13:52:46 2014 - [debug] Connecting to servers..
Thu Jun  5 13:52:46 2014 - [debug]  Connected to: 
einstein(138.203.16.132:3306), user=root
Thu Jun  5 13:52:46 2014 - 
[error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln386] Error happend 
on checking configurations. Use of uninitialized value in string eq at 
/usr/share/perl5/vendor_perl/MHA/Server.pm line 235.
Thu Jun  5 13:52:46 2014 - 
[error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln482] Error 
happened on monitoring servers.
Thu Jun  5 13:52:46 2014 - [info] Got exit code 1 (Not master dead).

full config
root@angua2 .ssh $ cat /etc/mha.cnf 
[server default]
manager_log=/var/log/masterha/manager.log
manager_workdir=/var/log/masterha
password=paloAlto
remote_workdir=/var/log/masterha
user=root
log_level=debug

[server_einstein]
hostname=einstein

Original issue reported on code.google.com by maikel.p...@gmail.com on 5 Jun 2014 at 1:34

GoogleCodeExporter commented 8 years ago
maybe duplicate of https://code.google.com/p/mysql-master-ha/issues/detail?id=70

Original comment by ahto.jus...@gmail.com on 24 Nov 2014 at 12:17