This started only when I upgraded to Fedora 11.
I have nagios-specific errors among other things.
The nagios specific issue is this:
Code:
(Return code of 127 is out of bounds - plugin may be missing)
When I run the same command on the server, I get this:
Code:
# /usr/local/nagios/libexec/check_mysql hostname.com
/usr/local/nagios/libexec/check_mysql: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
When I upgraded, libmysqlclient.so.15 was replaced by libmysqlclient.so.16. So I went to /usr/lib/mysql and created a symbolic link.
Code:
libmysqlclient.so.15 -> libmysqlclient.so.16
I notice the following as well:
Code:
libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
But it's still not working, so perhaps this isn't the right way.
Additionally, MySQL won't start at all.
Code:
# /sbin/service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
Log says:
Code:
090729 09:32:54 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
090729 9:32:54 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
090729 9:32:54 InnoDB: Started; log sequence number 0 1584062
090729 9:32:54 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect key file for table 'host'; try to repair it
090729 09:32:54 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
How can one upgrade a table if they can't start MySQL?