fantasyni / mysql-master-ha

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

masterha_manager can not start on 3306 ,but 3313 ok #110

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1../masterha_manager --conf=cfg/10.221.33.213_3306.cnf
2.
3.

What is the expected output? What do you see instead?
Mon Mar 30 17:17:01 2015 - [info] Reading default configuration from 
/etc/masterha_default.cnf..
Mon Mar 30 17:17:01 2015 - [info] Reading application default configuration 
from cfg/10.221.33.213_3306.cnf..
Mon Mar 30 17:17:01 2015 - [info] Reading server configuration from 
cfg/10.221.33.213_3306.cnf..
Mon Mar 30 17:17:01 2015 - [info] MHA::MasterMonitor version 0.56.
Mon Mar 30 17:17:01 2015 - [error][/usr/local/share/perl5/MHA/MasterMonitor.pm, 
ln424] Error happened on checking configurations. Failed to get IP address on 
host 10.221.33.213 !
 at /usr/local/share/perl5/MHA/Server.pm line 266
Mon Mar 30 17:17:01 2015 - [error][/usr/local/share/perl5/MHA/MasterMonitor.pm, 
ln523] Error happened on monitoring servers.
Mon Mar 30 17:17:01 2015 - [info] Got exit code 1 (Not master dead).

What version of the product are you using? On what operating system?
0.56 ,CentOS release 6.3 (Final)

Please provide any additional information below.
but start on 3313 is ok
./masterha_manager --conf=cfg/10.221.33.213_3313.cnf
except port,no difference between two cnf files

by the way,how to debug multi threads scripts  in perl,I use perl -d to debug,
get error:
Since two debuggers fight for the same TTY, input is severely entangled.

Original issue reported on code.google.com by way...@gmail.com on 30 Mar 2015 at 9:23