Bug #65986 mysql-cluster-gpl-7.2.6-linux2.6-x86_64 on rhel 4.7
Submitted: 23 Jul 2012 12:34 Modified: 24 Jul 2012 19:12
Reporter: kasun Ekanayake Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version: OS:Linux (rhel4.7)
Assigned to: CPU Architecture:Any

[23 Jul 2012 12:34] kasun Ekanayake
Description:
We are planning to set up mysql cluster replication by upgrading current mysql cluster which is 

when starting mysql-api node (mysql-cluster-gpl-7.2.6-linux2.6-x86_64) on rhel 4.7 below issue occrued. 

-----------------------------------------------------------------------

120723 14:55:51 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
120723 14:55:51 mysqld_safe mysqld from pid file /usr/local/mysql/data/localhost.localdomain.pid ended
120723 20:06:10 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
120723 20:06:10 mysqld_safe mysqld from pid file /usr/local/mysql/data/localhost.localdomain.pid ended
-------------------------------------------------

[root@localhost local]# rpm -qa libaio*
libaio-0.3.105-2
-----------------------------------------------------------------------

What would be the best way to over come the above issue. Either install libaio.so.1 rpms (searched the web, but wasn't able to find). Or upgrade our OS to rhel 5 or rhel 6
Or any other option.

How to repeat:
copy mysql-cluster-gpl-7.2.6-linux2.6-x86_64 to /usr/local/
mysql installtion steps
try to start mysql-api node
[23 Jul 2012 12:42] kasun Ekanayake
error  report

Attachment: ndb_error_report_20120723204413.tar.bz2 (application/octet-stream, text), 705 bytes.

[24 Jul 2012 19:12] Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on
how to report a bug at http://bugs.mysql.com/how-to-report.php

libaio is required since version 5.5.4. See bug #60544 for discussion about this.

libaio.so.1 should be part of libaio package. Probably you need to upgrade it to latest. Search your filesystem for required library, then add it to LD_LIBRARY_PATH, then restart MySQL.