Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2019-01-01 Thread Marc Lagies
On 29.12.18 16:23, Otto Kekäläinen wrote: What does 'find /etc/mysql -ls' show for you? Maybe the original problem is that you edited the wrong configuration file and it was lost on upgrade? Due how mysql-common works in Debian, the /etc/mysql/my.cnf is not a real file but a symlink to the real

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-12-29 Thread Otto Kekäläinen
Control: tags -1 moreinfo Hello! What does 'find /etc/mysql -ls' show for you? Maybe the original problem is that you edited the wrong configuration file and it was lost on upgrade? Due how mysql-common works in Debian, the /etc/mysql/my.cnf is not a real file but a symlink to the real config,

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-28 Thread Marco M. F. De Santis
Hello Faustin, Il 28/11/18 16:10, Faustin Lammler ha scritto: @Marco, I can't see where you activated the plugin in the conf you provided? May I ask you both to give me the result of: $ sudo grep -r server_audit.so /etc/ The result was empty. Probably once the plugin is enabled from mysql

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-28 Thread Marc Lagies
Hi Faustin, On 28.11.18 16:10, Faustin Lammler wrote: May I ask you both to give me the result of: $ sudo grep -r server_audit.so /etc/ /etc/mysql/my.cnf:plugin_load = server_audit = server_audit.so @Marc, my guess is that you may have it activated somewhere else (without space)

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-28 Thread Faustin Lammler
Hi Marc and thanks Marco for your input! I may have found something. I think the plugin is not activated because of the spaces (or tab) you use in the config file. I am able to reproduce the error if I use: plugin_load = server_audit = server_audit.so But if I use (without space):

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-27 Thread Marc Lagies
Hello Faustin, On 22.11.18 20:06, Faustin Lammler wrote: [..] Can you give me the content of you /etc/mysql/my.cnf file? /etc/mysql/my.cnf [mysqld] ### Plugins ## Audit Plugin plugin_load = server_audit = server_audit.so server_audit_file_path =

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-24 Thread Marco M. F. De Santis
Hello Faustin, I had the same issue. Then commented out the audit plugin lines in the configuration file, finished the upgrade and un-commented them again. These are my configuration files (with some info removed): # cat /etc/mysql/mariadb.cnf | grep -v ^# [client-server]

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-22 Thread Faustin Lammler
Marc, I am not able to reproduce this. Here are my steps: - installation of mariadb-server-10.1_10.1.26-0+deb9u1; - load and activation of the audit plugin: $ cat /etc/mysql/my.cnf | grep -v ^# [mysqld] plugin_load=server_audit=server_audit.so

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-21 Thread Marc Lagies
Hello Faustin On 20.11.18 19:35, Faustin Lammler wrote: May I ask you which version of mariadb you where upgrading from? 10.1.26-0+deb9u1 (2018-07-31) I enabled the plugin about three weeks ago. And also please respond to the following: I commented out the audit plugin relateted lines

Bug#914188: [debian-mysql] Bug#914188: mariadb-server: Upgrade faild due to 'unknown variable': 'server_audit_file_path=/path/to/audit.log'

2018-11-20 Thread Faustin Lammler
Hi Marc, thank you for your help! May I ask you which version of mariadb you where upgrading from? And also please respond to the following: > I commented out the audit plugin relateted lines in the mariadb config > file. Can you give me the path of this config file? Did you uncommented the