Giter Club home page Giter Club logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
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 [email protected] on 8 Nov 2011 at 4:14

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
Where do I modify the remote_host1 ? As in which file?

Original comment by [email protected] on 8 Nov 2011 at 4:28

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
Also once I get the Master up it again says 
Ping succeeded, sleeping until it doesn't respond..

Original comment by [email protected] on 8 Nov 2011 at 4:34

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
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 [email protected] on 9 Nov 2011 at 5:31

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
Have mailed you the entire log file details.

Original comment by [email protected] on 9 Nov 2011 at 6:03

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
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 [email protected] on 9 Nov 2011 at 9:49

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
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 [email protected] on 9 Nov 2011 at 10:07

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024

Original comment by [email protected] on 17 Nov 2011 at 7:14

  • Changed state: Done

from mysql-master-ha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.