Closed GoogleCodeExporter closed 8 years ago
Read error messages carefully.
"ssh: Could not resolve hostname remote_host1: Name or service not known"
So "remote_host1" should be an appropriate remote hostname on your environment.
Original comment by Yoshinor...@gmail.com
on 8 Nov 2011 at 4:14
Where do I modify the remote_host1 ? As in which file?
Original comment by ajays20...@gmail.com
on 8 Nov 2011 at 4:28
Also once I get the Master up it again says
Ping succeeded, sleeping until it doesn't respond..
Original comment by ajays20...@gmail.com
on 8 Nov 2011 at 4:34
ok changed the remote_host1 to localhost ,but getting the following errors!
Master was running on port 3308(mysql 4.1) and slave was running on port
3306(mysql 5.1.1)
app1: MySQL Master failover 127.0.0.1
Master 127.0.0.1 is down!
Check MHA Manager logs at adaministrator-laptop for details.
Started automated(non-interactive) failover.
Invalidated master IP address on 127.0.0.1.
Power off 127.0.0.1.
The latest slave 127.0.0.1(127.0.0.1:3306) has all relay logs for recovery.
Selected 127.0.0.1 as a new master.
127.0.0.1: OK: Applying all logs succeeded.
Failed to activate master IP address for 127.0.0.1 with return code 2:0
Got Error so couldn't continue failover from here.
Wed Nov 9 10:53:00 2011 - [info] Sending mail..
sh: /script/masterha/send_master_failover_mail: not found
Wed Nov 9 10:53:00 2011 -
[error][/usr/local/share/perl/5.10.1/MHA/MasterFailover.pm, ln1516] Failed to
send mail with return code 127:0
[1]+ Killed sudo masterha_manager --conf=/etc/app1.cnf
Original comment by ajays20...@gmail.com
on 9 Nov 2011 at 5:31
Have mailed you the entire log file details.
Original comment by ajays20...@gmail.com
on 9 Nov 2011 at 6:03
Read logs carefully..
"sh: /script/masterha/send_master_failover_mail: not found"
Please set this script, or remove "report_script" parameter from configuration
file.
Original comment by Yoshinor...@gmail.com
on 9 Nov 2011 at 9:49
That is not the primary cause of the error,even after commenting that, only the
last two lines of error log wont appear ,rest of it continues to exist. Have
mailed you the error log I got after removing report_script.
Original comment by ajays20...@gmail.com
on 9 Nov 2011 at 10:07
Original comment by Yoshinor...@gmail.com
on 17 Nov 2011 at 7:14
Original issue reported on code.google.com by
ajays20...@gmail.com
on 8 Nov 2011 at 4:00