mail from anacron

  • i am not sure but i think i dont have anacron install. :)


    Code
    /etc/cron.daily/logrotate:
    Usage: /etc/init.d/rsyslog {start|stop|rotate|restart|force-reload|status}
    invoke-rc.d: initscript rsyslog, action "reload" failed.
    error: error running shared postrotate script for '/var/log/autoshutdown.log '
    run-parts: /etc/cron.daily/logrotate exited with return code 1

    HP Proliant Gen8 with ESXi6.5


    Storage - Raid5 with 4 x 3TB WDRed - System on microSD / Datastore on Samsung 850Pro - 250GB

    • Offizieller Beitrag

    Where do you see anacron? You do have cron and logrotate installed. It is having an issue rotating the autoshutdown log for some reason (in use??).

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I'll add this to autoshutdown install script:

    Bash
    if [ ! -f /var/log/autoshutdown.log ]; then
      touch /var/log/autoshutdown.log
    fi


    then logrotate has something to rotate ;)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!