Installation of audit_log plugin crashes mysql server if audit_log_file points to a inaccessible path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.5 |
Fix Released
|
High
|
Sergei Glushchenko | ||
5.6 |
Fix Released
|
High
|
Sergei Glushchenko |
Bug Description
2015-03-23T22:42:55 audit_log: Cannot open file /opt/m. Error: : Permission denied
2015-03-23 22:42:55 5792 [ERROR] Plugin 'audit_log' init function returned error.
2015-03-23 22:42:55 5792 [ERROR] Plugin 'audit_log' registration as a AUDIT failed.
2015-03-23 22:42:55 5792 [Note] Shutting down plugin 'audit_log'
22:42:55 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=702
thread_count=156
connection_
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x29175c90
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7f9d5fdb5d40 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/usr/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f9cc881c5e0): is an invalid pointer
Connection ID (thread ID): 4396013
Status: NOT_KILLED
tags: | added: audit |
summary: |
- Installation of audit_log plugin crashes mysql server + Installation of audit_log plugin crashes mysql server if audit_log_file + points to a inaccessible path |
The file name entry from the error log contains non-ascii characters
0000000 2 0 1 5 - 0 3 - 2 3 T 2 2 : 4 2
062 060 061 065 055 060 063 055 062 063 124 062 062 072 064 062
0000020 : 5 5 a u d i t _ l o g : C
072 065 065 040 141 165 144 151 164 137 154 157 147 072 040 103
0000040 a n n o t o p e n f i l e
141 156 156 157 164 040 157 160 145 156 040 146 151 154 145 040
0000060 / o p t / m y \b 005 . E r r o r
057 157 160 164 057 155 171 010 005 056 040 105 162 162 157 162
0000100 : : P e r m i s s i o n d
072 040 072 040 120 145 162 155 151 163 163 151 157 156 040 144
0000120 e n i e d \n 2 0 1 5 - 0 3 - 2 3