[MDEV-7379] MariaDB v5.5.40 can't load "server_audit" plugin. Created: 2014-12-26 Updated: 2014-12-31 Due: 2015-01-30 Resolved: 2014-12-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugin - Audit |
| Affects Version/s: | 5.5.41 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Jiunhorng Cherng | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | plugins | ||
| Environment: |
Linux x86_64 (CentOS 6.4/RHEL 6.4) Following rpm are installed. |
||
| Description |
|
Can't load "server_audit.so" which is under "/usr/lib64/mysql/plugin" and installed by "MariaDB-5.5.40-centos6-x86_64-server.rpm". The error messages in err.log is as below. Download, replace (the original so file), and test audit plugin v1.1.1 ~ v1.1.8 with command "install plugin server_audit soname 'server_audit.so';". [Non-debug so file, v1.1.1] [Debug so file, v1.1.1~v1.1.8 except v1.1.6] [Debug so file, v1.1.6] |
| Comments |
| Comment by Elena Stepanova [ 2014-12-26 ] |
|
Hi, Where did you download the packages from? |
| Comment by Jiunhorng Cherng [ 2014-12-29 ] |
|
Hi Elena, The rpm files are downloaded from below URL. There is no setting about "plugin-maturity" in "/etc/my.cnf" file. By the way, I successfully configured the two machines as "Replication pair". That's wonderful. I just download the latest build v5.5.41 from below URL. Thank for all your help. |
| Comment by Elena Stepanova [ 2014-12-29 ] |
|
You downloaded enterprise binaries. Unless you know for sure that's what you want and need, you don't. Please use community binaries instead, just like you did with 5.5.41. |
| Comment by Jiunhorng Cherng [ 2014-12-30 ] |
|
Thank for you reply. But I still don't know why v5.5.40 Enterprise has issue with built-in server_audit plug-in. Does community binaries mean "Non-enterprise" binaries? Thanks!! |
| Comment by Elena Stepanova [ 2014-12-30 ] |
|
It doesn't have an issue with the plugin, it has an issue with the plugin maturity. As I already said, enterprise binaries enforce strict policy on plugin usage, to make sure that experimental plugins do not get used by mistake. server_audit is now Beta, hence it was rejected. I suppose if you specify explicitly in your config --plugin-maturity=beta, it should work (I don't have the enterprise package handy at the moment to check myself; maybe I'm wrong and the policy is even stricter than that). Regarding compatibility, normally plugins should be from the same server build as the serer itself. I don't know what meaning you put into the term "non-enterprise" binaries, so I can't answer your last question accurately. From the perspective of packages provided by MariaDB, there are the traditional ones, that have been provided for years (http://downloads.askmonty.org/), and now there are also those that are called 'enterprise' (https://mariadb.com/products/mariadb-enterprise). Usually the former ones are referred to as just "MariaDB packages", while the latter ones – as "MariaDB enterprise packages". The former ones can also be called "community", as this difference in naming is familiar to MySQL users. |
| Comment by Jiunhorng Cherng [ 2014-12-31 ] |
|
Hi Elena, No offense. I really appreciate your help and reply because I'm a rookie. Originally, I download "MariaDB Enterprise packages" and encounter some "condition". Then I try to find "server_audit" plugin with compatible maturity-level. What I don't understand is Since there is no such condition in "MariaDB Packages" v5.5.41, there is no need to go back to v5.5.40 or go further into this condition. Thanks. |