Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3767

connector_plugindir does not pick up the default location.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.1.1
    • 6.1.2
    • Core
    • None
    • CENTOS 7

    Description

      User reported the plugin directory isn't picked as default location so throws the following error:

      Connection to [rnpans401]:9611 failed. Error 1045: Plugin dialog could not be loaded: /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib/mariadb/plugin/dialog.so: cannot open shared object file: No such file or directory
      

      To workaround the issue,

      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com
       
      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com/MaxScale
      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com/MaxScale/_build
      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c
      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install
      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib
      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib/mariadb
      [root@host1 ~]# mkdir /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib/mariadb/plugin
      [root@host1 ~]#
      [root@host1 ~]# cp /usr/lib64/mysql/plugin/dialog.so /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib/mariadb/plugin
      [root@host1 ~]#
      [root@host1 ~]#
      [root@host1 ~]# chmod 755 /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib/mariadb/plugin/*
      [root@host1 ~]# ls -lrht /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib/mariadb/plugin/dialog.so
      -rwxr-xr-x 1 root root 11K Sep 14 07:40 /home/timofey_turenko_mariadb_com/MaxScale/_build/connector-c/install/lib/mariadb/plugin/dialog.so
      

      Then, error went away.

      Attachments

        Activity

          People

            markus makela markus makela
            allen.lee@mariadb.com Allen Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.