Error running shared postrotate script for mysql

Error running shared postrotate script for mysql

אורי uri at speedy.net
Sun Jun 21 08:14:47 IDT 2020


Hi,

I think I found the problem according to
https://serverfault.com/questions/325171/debian-mysql-error-running-shared-postrotate-script-for-var-log-mysql-log
:

My password for user debian-sys-maint was not correct. I updated the
password with:

update user set authentication_string=password("<password>") where
user="debian-sys-maint";

אורי
uri at speedy.net


‪On Sun, Jun 21, 2020 at 7:37 AM ‫אורי‬‎ <uri at speedy.net> wrote:‬

> Hi,
>
> I installed a new Ubuntu 18.04 server with mysql, and I receive the
> following error by email daily:
>
>
>
>
>
>
> *Cron <root at www> test -x /usr/sbin/anacron || ( cd / && run-parts --report
> /etc/cron.daily )/etc/cron.daily/logrotate:error: error running shared
> postrotate script for '/var/log/mysql.log /var/log/mysql/*log 'run-parts:
> /etc/cron.daily/logrotate exited with return code 1*
> How can I fix this error?
> תודה,
> אורי
> uri at speedy.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20200621/3491aa2f/attachment-0001.html>


More information about the Linux-il mailing list