Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

masterha_check_repl ignores relay-log defined in /etc/my.cnf #24

Open
GoogleCodeExporter opened this issue Mar 29, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. Define relay-log in /etc/my.cnf as: relay-log = /data/relaylogs/relay-bin
2. Define datadir in /etc/my.cnf as: datadir = /data
3. From MHA manager, run masterha_check_repl  --conf=/etc/MHA.cnf

What is the expected output? What do you see instead?
The relay_log_info should be /data/relaylogs/relay-log.info but it is 
"/data/relay-log.info" and fails.


What version of the product are you using? On what operating system?
0.53 of Node and Manager on CentOS 5.8

Please provide any additional information below.

Mon May 14 10:23:54 2012 - [info]   Executing command : apply_diff_relay_logs 
--command=test --slave_user=mhadmin --slave_host=db2 --slave_ip=99.99.99.239 
--slave_port=3306 --workdir=/var/log/masterha --target_version=5.0.92-50-log 
--manager_version=0.53 --relay_log_info=/data/relay-log.info  
--relay_dir=/data/  --slave_pass=xxx
Mon May 14 10:23:54 2012 - [info]   Connecting to [email protected](db2:22).. 
  Checking slave recovery environment settings..
    Opening /data/relay-log.info ...Could not open relay-log-info file /data/relay-log.info.
 at /usr/bin/apply_diff_relay_logs line 306

Original issue reported on code.google.com by [email protected] on 14 May 2012 at 5:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant