#1499 /var/log/mysqld is owned by root on db1
Closed: Fixed None Opened 11 years ago by ricky.

Because of this, mysql stuff is not being logged like we think it is. Interestingly, this is chowned in puppet:

{{{
exec { '/bin/mkdir /var/log/mysqld/; /bin/chown mysql.mysql /var/log/mysqld/':
cwd => '/',
creates => '/var/log/mysqld/',
}
}}}

Anyway, we should probably look into the effects of fixing this issue before reenabling it. /var/log is on /, which has only 18G free. On db1.stg, even a partial attempt to import a smolt db backup caused the file to grow to almost 1.5 GB over a few hours.


Login to comment on this ticket.

Metadata