On Fri, Aug 28, 2009 at 09:14:52AM +0200, Helmut Grohne wrote:
> /etc/cron.daily/logrotate:
> 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
> 
> I hope that you get the package properly split for akonadi soon, because
> at the moment kdepim is a real pain.

Here's an alternative fix I'm using.  In /etc/logrotate.d/mysql-server,
change this line 

                  if ps cax | grep -q mysqld; then

to this

                  if killall -q -s0 -umysql mysqld; then

That should cause the check to ignore any running mysqld processes
that aren't the system wide service.

David
-- 
David Engel
da...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to