Re: error running shared postrotate script for '/var/log/myt…

Top Page

Reply to this message
Author: Christian Marillat
Date:  
To: dmo-discussion
Subject: Re: error running shared postrotate script for '/var/log/mythtv/*.log '
Martin Gallant <martyg@???> writes:

> On a fresh install of jessie/testting
> with Myth frontend installed only (Backend is on another machine on my network)
> I get the following error from cron every morning:
>
> /etc/cron.daily/logrotate:
> error: error running shared postrotate script for '/var/log/mythtv/*.log '
> run-parts: /etc/cron.daily/logrotate exited with return code 1


Google return the same error for mysql.log

Apparently we have this error if mythlogserver isn't running.
Could you replace in /etc/logrotate.d/mythlogserver

,----
| pkill -HUP mythlogserver

`----

by

,----
| if [ -z pidof mythlogserver ]; then
|    kill -HUP mythlogserver
| fi

`----

and try ?

Christian