AnsweredAssumed Answered

metrics write problem: "ERROR: Failed to find shared library for backend mysql"(on Ubuntu 14.04)

Question asked by tksarah on Jun 2, 2014
Latest reply on Jun 16, 2014 by nabeel
I've installed M3 3.1.0 on a single node in a Ubuntu 14.04 VM and have followed the instructions to set up the metrics database. I am getting an error in the UI that reads: "ERROR: Failed to find shared library for backend mysql" in hoststats.log.

I looked at [this][1], then I run ldconfig command, however I could not resolve it.

I instaled some mysql packages below:

    root@mapr:/opt/mapr/logs# dpkg -l |grep mysql
    ii  libdbd-mysql-perl                   4.025-1                       amd64        Perl5 database interface to the MySQL database
    pi  libmysql-java                       5.1.28-1                      all          Java database (JDBC) driver for MySQL
    ii  libmysqlclient-dev                  5.5.37-0ubuntu0.14.04.1       amd64        MySQL database development files
    pi  libmysqlclient18:amd64              5.5.37-0ubuntu0.14.04.1       amd64        MySQL database client library
    ii  libmysqld-dev                       5.5.37-0ubuntu0.14.04.1       amd64        MySQL embedded database development files
    ii  mysql-client                        5.5.37-0ubuntu0.14.04.1       all          MySQL database client (metapackage depending on the latest version)
    ii  mysql-client-5.5                    5.5.37-0ubuntu0.14.04.1       amd64        MySQL database client binaries
    ii  mysql-client-core-5.5               5.5.37-0ubuntu0.14.04.1       amd64        MySQL database core client binaries
    ri  mysql-common                        5.5.37-0ubuntu0.14.04.1       all          MySQL database common files, e.g. /etc/mysql/my.cnf
    ii  mysql-server                        5.5.37-0ubuntu0.14.04.1       all          MySQL database server (metapackage depending on the latest version)
    ii  mysql-server-5.5                    5.5.37-0ubuntu0.14.04.1       amd64        MySQL database server binaries and system database setup
    ii  mysql-server-core-5.5               5.5.37-0ubuntu0.14.04.1       amd64        MySQL database server binaries

Any tips would be appreciated!


  [1]: http://answers.mapr.com/questions/9511/metrics-write-problem-error-failed-to-find-shared-library-for-backend-mysql

Outcomes