Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
6.1.1
-
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.