Intermittent: Anacron 'cron.daily' email

Home Forums User Contributions OPI Support Intermittent: Anacron 'cron.daily' email

This topic contains 1 reply, has 2 voices, and was last updated by Tor Krill Tor Krill 2 years, 11 months ago.

  • Author
    Posts
  • #600

    murtagh
    Participant

    This is a minor bug, but it might be able to be debugged. Occasionally I get an email from the anacron daemon saying it errored out. My OPI is not particularly stressed (minimal email, minimal Owncloud, etc) becuase I am still setting it up. Here are the emails:

    Title: Anacron job ‘cron.daily’ on opi
    Date: 2014-09-23 07:36
    Body:
    /etc/cron.daily/logrotate:
    initctl: invalid command: reopen-logs
    Try `initctl –help’ for more information.
    invoke-rc.d: initscript php5-fpm, action “reopen-logs” failed.
    error: error running non-shared postrotate script for /var/log/php5-fpm.log of ‘/var/log/php5-fpm.log ‘
    run-parts: /etc/cron.daily/logrotate exited with return code 1

    ###
    Title: Anacron job ‘cron.daily’ on opi
    Date: 2014-09-28 07:35
    Body:
    /etc/cron.daily/logrotate:
    initctl: invalid command: reopen-logs
    Try `initctl –help’ for more information.
    invoke-rc.d: initscript php5-fpm, action “reopen-logs” failed.
    error: error running non-shared postrotate script for /var/log/php5-fpm.log of ‘/var/log/php5-fpm.log ‘
    run-parts: /etc/cron.daily/logrotate exited with return code 1

    ###
    Title: Anacron job ‘cron.daily’ on opi
    Date: 2014-10-06 07:35
    Body:
    /etc/cron.daily/logrotate:
    initctl: invalid command: reopen-logs
    Try `initctl –help’ for more information.
    invoke-rc.d: initscript php5-fpm, action “reopen-logs” failed.
    error: error running non-shared postrotate script for /var/log/php5-fpm.log of ‘/var/log/php5-fpm.log ‘
    run-parts: /etc/cron.daily/logrotate exited with return code 1

  • #606
    Tor Krill
    Tor Krill
    Keymaster

    Hi murtagh,

    Thank you for the detailed error report, appreciated!

    This is unfortunately a known upstream, Ubuntu, bug. If you are interested in reading more about it information is available here: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1230917

    Since this is annoying but non fatal we have not yet decided on how to proceed on the matter. Fix it locally or wait for a fix upstream. We are not the only people with this problem by the looks of the bug report.

    A good guess is that if it’s not fixed upstreams when we get the current workload down is that we do something locally. This is however not an ideal situation since that would mean that we diverge from Ubuntu which we would like to avoid if possible.

    I hope that this clarifies the situation.

    Best!

    /Tor

You must be logged in to reply to this topic.

Posted in