Comment 6 for bug 1435606

Revision history for this message
monty solomon (monty+launchpad) wrote : Re: Installation of audit_log plugin crashes mysql server

2015-03-23 22:34:09 5850 [Note] Start binlog_dump to master_thread_id(48126913) slave_server(2922609890), pos(bin.001636, 271174138)
2015-03-23T22:37:17 audit_log: Cannot open file /opt/m. Error: : Permission denied
2015-03-23 22:37:17 5850 [ERROR] Plugin 'audit_log' init function returned error.
2015-03-23 22:37:17 5850 [ERROR] Plugin 'audit_log' registration as a AUDIT failed.
2015-03-23 22:37:17 5850 [Note] Shutting down plugin 'audit_log'
/usr/sbin/mysqld(my_print_stacktrace+0x2c)[0x8c13ac]
/usr/sbin/mysqld(handle_fatal_signal+0x461)[0x651e41]
/lib64/libpthread.so.0(+0xf710)[0x7ff6021e0710]
/usr/lib64/mysql/plugin/audit_log.so(+0x4a28)[0x7fef98f84a28]
/usr/sbin/mysqld(_Z21finalize_audit_pluginP13st_plugin_int+0x1f)[0x6812bf]
/usr/sbin/mysqld[0x6e0097]
/usr/sbin/mysqld(_Z20mysql_install_pluginP3THDPK19st_mysql_lex_stringS3_+0x5ae)[0x6e12ce]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x3d9d)[0x6d41ad]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x5c8)[0x6d7478]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xfb7)[0x6d8b97]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x162)[0x6a67a2]
/usr/sbin/mysqld(handle_one_connection+0x40)[0x6a6890]
/usr/sbin/mysqld(pfs_spawn_thread+0x143)[0xacd003]
/lib64/libpthread.so.0(+0x79d1)[0x7ff6021d89d1]
/lib64/libc.so.6(clone+0x6d)[0x7ff6008f7b6d]
150323 22:37:17 mysqld_safe Number of processes running now: 0
150323 22:37:17 mysqld_safe mysqld restarted

0000000 062 060 061 065 055 060 063 055 062 063 124 062 062 072 063 067
          2 0 1 5 - 0 3 - 2 3 T 2 2 : 3 7
0000020 072 061 067 040 141 165 144 151 164 137 154 157 147 072 040 103
          : 1 7 a u d i t _ l o g : C
0000040 141 156 156 157 164 040 157 160 145 156 040 146 151 154 145 040
          a n n o t o p e n f i l e
0000060 057 157 160 164 057 155 171 010 005 056 040 105 162 162 157 162
          / o p t / m y \b 005 . E r r o r
0000100 072 040 072 040 120 145 162 155 151 163 163 151 157 156 040 144
          : : P e r m i s s i o n d
0000120 145 156 151 145 144 012 062 060 061 065 055 060 063 055 062 063
          e n i e d \n 2 0 1 5 - 0 3 - 2 3

mysql Ver 14.14 Distrib 5.6.22-71.0, for Linux (x86_64) using EditLine wrapper
Server version: 5.6.22-71.0-log Percona Server (GPL), Release 71.0, Revision 726
Linux bullis 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.5 (Final)