aorosar / mysql-master-ha

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

masterha_check_repl says ssh config failed, BUT masterha_check_ssh was okay #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run  masterha_check_repl with config file below

What is the expected output? What do you see instead?

expected: OK message

what I see:

Tue Apr  7 22:26:04 2015 - 
[error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln424] Error 
happened on checking configurations. SSH Configuration Check Failed!
 at /usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm line 369
Tue Apr  7 22:26:04 2015 - 
[error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln523] Error 
happened on monitoring servers.

Please note: this is NOT an ssh key issue, masterha_check_ssh reports 
everything is clear

What version of the product are you using? On what operating system?

0.56 on CentOS 6.3

Please provide any additional information below.

app1.cnf is this:

  [server default]
  user=yoshi  # new user created for testing HA
  password=..... 
  ssh_user=bhsu
  manager_workdir=/var/log/masterha/app1
  remote_workdir=/var/log/masterha/app1

Original issue reported on code.google.com by ben....@criticalmedia.com on 7 Apr 2015 at 10:31

GoogleCodeExporter commented 8 years ago
okay this is resolved, the /var/log/ directory was owned by root

Original comment by ben....@criticalmedia.com on 9 Apr 2015 at 6:10