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";

אורי
u...@speedy.net


‪On Sun, Jun 21, 2020 at 7:37 AM ‫אורי‬‎ <u...@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@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?
> תודה,
> אורי
> u...@speedy.net
>
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to