Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not a Bug
-
Affects Version/s: 5.5.41
-
Fix Version/s: N/A
-
Component/s: Plugin - Audit
-
Labels:
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.
ERROR 1126 (HY000): Can't open shared library 'server_audit.so' (errno: 1, Loading of beta plugin SERVER_AUDIT is prohibited by --plugin-maturity=gamma)
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';".
All failed as below.
[Non-debug so file, v1.1.1]
ERROR 1126 (HY000): Can't open shared library 'server_audit.so' (errno: 1, Loading of alpha plugin SERVER_AUDIT is prohibited by --plugin-maturity=gamma)
[Non-debug so file, v1.1.2~v1.1.8]
ERROR 1126 (HY000): Can't open shared library 'server_audit.so' (errno: 1, Loading of beta plugin SERVER_AUDIT is prohibited by --plugin-maturity=gamma)
[Debug so file, v1.1.1~v1.1.8 except v1.1.6]
ERROR 1126 (HY000): Can't open shared library '/usr/lib64/mysql/plugin/server_audit.so' (errno: 2, undefined symbol: safe_mutex_init)
[Debug so file, v1.1.6]
ERROR 1126 (HY000): Can't open shared library '/usr/lib64/mysql/plugin/server_audit.so' (errno: 2, undefined symbol: safe_mutex_lock)
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Hi,
Where did you download the packages from?
Do you have plugin-maturity option in your cnf file(s)?
If you do, and it's set to 'gamma', that's why you are getting the error – server_audit plugin is currently Beta.