[debian-mysql] Bug#792662: mysql-server-5.6: Conflicting settings for mysqld_safe log
Matijs van Zuijlen
matijs at matijs.net
Fri Jul 17 08:40:22 UTC 2015
Package: mysql-server-5.6
Version: 5.6.25-2
Severity: normal
Hi,
I'm getting the following messages in syslog:
[..] mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect.
[..] mysqld_safe Logging to '/var/log/mysql/error.log'.
After some digging, I found out the error log is set in /etc/mysql/mysql.conf.d/mysqld.cnf:
[...]
log_error = /var/log/mysql/error.log
[...]
At the same time, the syslog option is set in /etc/mysql/mysql.conf.d/mysqld_safe_syslog.cnf:
[mysqld_safe]
syslog
Regards,
Matijs
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mysql-server-5.6 depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.57
ii init-system-helpers 1.23
ii initscripts 2.88dsf-59.2
ii libaio1 0.3.110-1
ii libc6 2.19-19
ii libdbi-perl 1.633-1
ii libgcc1 1:5.1.1-14
ii libstdc++6 5.1.1-14
ii libwrap0 7.6.q-25
ii lsb-base 4.1+Debian13+nmu1
ii mysql-client-5.6 5.6.25-2
ii mysql-common 5.6.25-2
ii mysql-server-core-5.6 5.6.25-2
ii passwd 1:4.2-3
ii perl 5.20.2-6
ii psmisc 22.21-2
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages mysql-server-5.6 recommends:
ii libhtml-template-perl 2.95-2
Versions of packages mysql-server-5.6 suggests:
ii bsd-mailx [mailx] 8.1.2-0.20150408cvs-1
ii heirloom-mailx [mailx] 12.5-4
pn tinyca <none>
-- Configuration Files:
/etc/logcheck/ignore.d.paranoid/mysql-server-5_6 [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.paranoid/mysql-server-5_6'
/etc/logcheck/ignore.d.server/mysql-server-5_6 [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/mysql-server-5_6'
/etc/logcheck/ignore.d.workstation/mysql-server-5_6 [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.workstation/mysql-server-5_6'
-- debconf information:
mysql-server-5.6/start_on_boot: true
mysql-server/no_upgrade_when_using_ndb:
mysql-server-5.6/nis_warning:
mysql-server-5.6/really_downgrade: false
mysql-server-5.6/postrm_remove_databases: false
mysql-server/error_setting_password:
mysql-server/password_mismatch:
More information about the pkg-mysql-maint
mailing list