PDA

View Full Version : [SOLVED] Cron job error (MySQL)



dwp0980
March 1st, 2010, 03:36 PM
Hello,

I'm hoping someone can point me in the right direction regarding a cron error mesage that I have received (via email). I'm not sure where to start to try and find out what has gone wrong and why. Below is the error text received from cron. Any help gratefully received.


/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

kiranmurari
March 2nd, 2010, 07:59 AM
Hi,

The following link might be helpful.
http://www.lornajane.net/posts/2008/Logrotate-Error-on-Ubuntu

dwp0980
March 3rd, 2010, 11:13 AM
Yes, that did the trick. I thought I had already sorted this, but I had got a zero and a capital O confused! Doh!

Thanks for the help.