Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
2.3.3
-
None
Description
I enabled PAM authentication in MaxScale 2.3.3, and I'm now seeing GaleraMon fail because it can't load dialog.so. For example:
2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N1' ([172.30.0.249]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory
|
2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N2' ([172.30.0.32]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory
|
Is the MaxScale package supposed to include a file /var/lib/plugin/dialog.so? It does not seem to:
[ec2-user@ip-172-30-0-106 ~]$ rpm -q maxscale
|
maxscale-2.3.3-1.x86_64
|
[ec2-user@ip-172-30-0-106 ~]$ rpm -ql maxscale | grep dialog
|
[ec2-user@ip-172-30-0-106 ~]$ ls -l /var/lib/plugin/dialog.so
|
ls: cannot access /var/lib/plugin/dialog.so: No such file or directory
|
I know that the MariaDB-common package includes a dialog.so file, but that is not in /var/lib/plugin either:
[ec2-user@ip-172-30-0-106 ~]$ ls -l /usr/lib64/mysql/plugin/dialog.so
|
-rwxr-xr-x. 1 root root 47656 Jan 4 10:53 /usr/lib64/mysql/plugin/dialog.so
|
[ec2-user@ip-172-30-0-106 ~]$ rpm -qf /usr/lib64/mysql/plugin/dialog.so
|
MariaDB-common-10.3.12-1.el7.centos.x86_64
|
Is the maxscale package supposed to install its own dialog.so, or is it supposed to have a dependency on the MariaDB-common package, and load the dialog.so plugin from /usr/lib64/mysql/plugin/?
I was able to workaround the problem with:
[ec2-user@ip-172-30-0-106 ~]$ sudo mkdir -p /var/lib/plugin
|
[ec2-user@ip-172-30-0-106 ~]$ sudo install --mode=0755 /usr/lib64/mysql/plugin/dialog.so /var/lib/plugin/
|
[ec2-user@ip-172-30-0-106 ~]$ sudo systemctl restart maxscale
|
Attachments
Issue Links
Activity
Description |
I enabled PAM authentication in MaxScale 2.3.3, and I'm now seeing GaleraMon fail because it can't load dialog.so. For example:
{noformat} 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N1' ([172.30.0.249]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N2' ([172.30.0.32]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory {noformat} Is the MaxScale package supposed to include a file /var/lib/plugin/dialog.so? It does not seem to: {noformat} [ec2-user@ip-172-30-0-106 ~]$ rpm -q maxscale maxscale-2.3.3-1.x86_64 [ec2-user@ip-172-30-0-106 ~]$ rpm -ql maxscale | grep dialog [ec2-user@ip-172-30-0-106 ~]$ ls -l /var/lib/plugin/dialog.so ls: cannot access /var/lib/plugin/dialog.so: No such file or directory {noformat} I know that the MariaDB-common package includes a dialog.so file, but that is not in /var/lib/plugin either: {noformat} [ec2-user@ip-172-30-0-32 ~]$ ls -l /usr/lib64/mysql/plugin/dialog.so -rwxr-xr-x 1 root root 51968 Oct 31 18:07 /usr/lib64/mysql/plugin/dialog.so [ec2-user@ip-172-30-0-32 ~]$ rpm -qf /usr/lib64/mysql/plugin/dialog.so MariaDB-common-10.1.37-1.el7.centos.x86_64 {noformat} Is the maxscale package supposed to install its own dialog.so, or is it supposed to have a dependency on the MariaDB-common package, and load the dialog.so plugin from /usr/lib64/mysql/plugin/? |
I enabled PAM authentication in MaxScale 2.3.3, and I'm now seeing GaleraMon fail because it can't load dialog.so. For example:
{noformat} 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N1' ([172.30.0.249]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N2' ([172.30.0.32]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory {noformat} Is the MaxScale package supposed to include a file /var/lib/plugin/dialog.so? It does not seem to: {noformat} [ec2-user@ip-172-30-0-106 ~]$ rpm -q maxscale maxscale-2.3.3-1.x86_64 [ec2-user@ip-172-30-0-106 ~]$ rpm -ql maxscale | grep dialog [ec2-user@ip-172-30-0-106 ~]$ ls -l /var/lib/plugin/dialog.so ls: cannot access /var/lib/plugin/dialog.so: No such file or directory {noformat} I know that the MariaDB-common package includes a dialog.so file, but that is not in /var/lib/plugin either: {noformat} [ec2-user@ip-172-30-0-106 ~]$ ls -l /usr/lib64/mysql/plugin/dialog.so -rwxr-xr-x. 1 root root 47656 Jan 4 10:53 /usr/lib64/mysql/plugin/dialog.so [ec2-user@ip-172-30-0-106 ~]$ rpm -qf /usr/lib64/mysql/plugin/dialog.so MariaDB-common-10.3.12-1.el7.centos.x86_64 {noformat} Is the maxscale package supposed to install its own dialog.so, or is it supposed to have a dependency on the MariaDB-common package, and load the dialog.so plugin from /usr/lib64/mysql/plugin/? |
Description |
I enabled PAM authentication in MaxScale 2.3.3, and I'm now seeing GaleraMon fail because it can't load dialog.so. For example:
{noformat} 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N1' ([172.30.0.249]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N2' ([172.30.0.32]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory {noformat} Is the MaxScale package supposed to include a file /var/lib/plugin/dialog.so? It does not seem to: {noformat} [ec2-user@ip-172-30-0-106 ~]$ rpm -q maxscale maxscale-2.3.3-1.x86_64 [ec2-user@ip-172-30-0-106 ~]$ rpm -ql maxscale | grep dialog [ec2-user@ip-172-30-0-106 ~]$ ls -l /var/lib/plugin/dialog.so ls: cannot access /var/lib/plugin/dialog.so: No such file or directory {noformat} I know that the MariaDB-common package includes a dialog.so file, but that is not in /var/lib/plugin either: {noformat} [ec2-user@ip-172-30-0-106 ~]$ ls -l /usr/lib64/mysql/plugin/dialog.so -rwxr-xr-x. 1 root root 47656 Jan 4 10:53 /usr/lib64/mysql/plugin/dialog.so [ec2-user@ip-172-30-0-106 ~]$ rpm -qf /usr/lib64/mysql/plugin/dialog.so MariaDB-common-10.3.12-1.el7.centos.x86_64 {noformat} Is the maxscale package supposed to install its own dialog.so, or is it supposed to have a dependency on the MariaDB-common package, and load the dialog.so plugin from /usr/lib64/mysql/plugin/? |
I enabled PAM authentication in MaxScale 2.3.3, and I'm now seeing GaleraMon fail because it can't load dialog.so. For example:
{noformat} 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N1' ([172.30.0.249]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory 2019-01-26 03:56:11 error : [Galera-Monitor] Failed to connect to server 'C1N2' ([172.30.0.32]:3306) when checking monitor user credentials and permissions: Plugin dialog could not be loaded: /var/lib/plugin/dialog.so: cannot open shared object file: No such file or directory {noformat} Is the MaxScale package supposed to include a file /var/lib/plugin/dialog.so? It does not seem to: {noformat} [ec2-user@ip-172-30-0-106 ~]$ rpm -q maxscale maxscale-2.3.3-1.x86_64 [ec2-user@ip-172-30-0-106 ~]$ rpm -ql maxscale | grep dialog [ec2-user@ip-172-30-0-106 ~]$ ls -l /var/lib/plugin/dialog.so ls: cannot access /var/lib/plugin/dialog.so: No such file or directory {noformat} I know that the MariaDB-common package includes a dialog.so file, but that is not in /var/lib/plugin either: {noformat} [ec2-user@ip-172-30-0-106 ~]$ ls -l /usr/lib64/mysql/plugin/dialog.so -rwxr-xr-x. 1 root root 47656 Jan 4 10:53 /usr/lib64/mysql/plugin/dialog.so [ec2-user@ip-172-30-0-106 ~]$ rpm -qf /usr/lib64/mysql/plugin/dialog.so MariaDB-common-10.3.12-1.el7.centos.x86_64 {noformat} Is the maxscale package supposed to install its own dialog.so, or is it supposed to have a dependency on the MariaDB-common package, and load the dialog.so plugin from /usr/lib64/mysql/plugin/? I was able to workaround the problem with: {noformat} [ec2-user@ip-172-30-0-106 ~]$ sudo mkdir -p /var/lib/plugin [ec2-user@ip-172-30-0-106 ~]$ sudo install --mode=0755 /usr/lib64/mysql/plugin/dialog.so /var/lib/plugin/ [ec2-user@ip-172-30-0-106 ~]$ sudo systemctl restart maxscale {noformat} |
Summary | Monitor fails with PAM authentication with error: Plugin dialog could not be loaded | Monitor fails PAM authentication with error: Plugin dialog could not be loaded |
Fix Version/s | N/A [ 22001 ] | |
Resolution | Not a Bug [ 6 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 92070 ] | MariaDB v4 [ 138353 ] |
Zendesk Related Tickets | 139992 |
Did the monitor user use PAM authentication as well? If it didn't, I'd expect it to work.