[Bug 333813] [NEW] MySQL daemon crashes daily on logrotate's flush-logs
gcc
chris+ubuntu at qwirx.com
Tue Feb 24 13:16:48 GMT 2009
Public bug reported:
Binary package hint: mysql-server-5.0
The version of MySQL supplied with Dapper Drake crashes every day when
logrotate tries to tell it to flush logs, if expire-log-days is enabled
but log-bin is disabled in /etc/mysql/my.cnf. The logrotate cron job
output looks like this:
/etc/cron.daily/logrotate:
^G/usr/bin/mysqladmin: refresh failed; error: 'Lost connection to MySQL
server during query'
error: error running shared postrotate script for /var/log/mysql.log
/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
This is a well-known upstream bug (http://bugs.mysql.com/17733) that was
fixed in 5.0.33.
Workaround is to either disable expire-log-days or enable log-bin on the
affected server.
Please update the Dapper package to latest MySQL 5.0, or at least
5.0.33.
mysql-server-5.0: 5.0.22-0ubuntu6.06.10
Description: Ubuntu 6.06.2 LTS
Release: 6.06
** Affects: mysql-dfsg-5.0 (Ubuntu)
Importance: Undecided
Status: New
--
MySQL daemon crashes daily on logrotate's flush-logs
https://bugs.launchpad.net/bugs/333813
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list