Installing MySQL Replication on Amazon EC2
We used the online configurator to generate scripts. We started fresh with new amazon images for our 3 servers.
ClusterControl server: ami-31814f58 (default amazon 32-bit ebs server/ small)
DB1: ami-1b814f72 (default amazon 64 bit ebs server / large)
DB2: ami-1b814f72 (default amazon 64 bit ebs server / large)
We have an installation error.
Launched installer and everything in the script seemed to be installing fine until this error message:
Installing SEMISYNC plugins on 10.0.1.101
10.0.1.101: Executing 'LD_LIBRARY_PATH=/usr/local//mysql/lib/:/usr/local//mysql/lib//mysql /usr/local//mysql/bin//mysql --defaults-file=/etc///my.cnf -uroot -e "INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.so'"' [failed]
The script errors out
the .log file:
ERROR 1126 (HY000) at line 1: Can't open shared library '/usr/local/mysql/lib/mysql/plugin/semisync_master.so' (errno: 13 cannot open shared object file: No such file or directory)
The file does not exist on that server. How do i find it and can i just run the deploy script again to reinstall?
UPDATE: Got through the entire install process:
- the semisync_master.so error was caused by choosing the percona installation. When I reran the configurator with MySQL 5.5, I was able to move past that error
- I had an error on the ClusterControl server (I was being frugal and used a small/32 bit AMI). When I switched to a 64 bit AMI, everything is fine.
I'm moving on to testing now: Thanks again.
Please sign in to leave a comment.