Cron Notification Errors


Recommended Posts

Recently I've been getting the following errors e-mailed to me.

 

Subject: Cron <root@d274878dc813> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/logrotate:
invoke-rc.d: policy-rc.d denied execution of reload.

 

Subject: Cron <root@d274878dc813> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/logrotate:
invoke-rc.d: policy-rc.d denied execution of reload.
invoke-rc.d: policy-rc.d denied execution of reload.

 

I am pretty certain the errors are from one of the two following changes recently.

I had recently setup a cron job to my Go file for a weekly backup of my Docker/VM's from this thread https://lime-technology.com/forum/index.php?topic=38905.0

I've also recently left the UnBalance Docker as running.

I assume one of the two is generating the error (I'm assuming it's the backup/weekly cron job), however what do I need to fix the error?

 

Thanks!

Link to comment

Received this again this morning, certainly doesn't seem to be daily.

Someone has to have an idea of what this means?  :o

Input much appreciated.

 

E-mail from today:

Cron <root@4a098718778e> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/logrotate:
invoke-rc.d: policy-rc.d denied execution of reload.

Link to comment

Looks like a docker container from this:

 <root@4a098718778e>

 

Does  4a098718778e match one of your container IDs? (use the advanced view in the webgui docker tab, or enter '

docker ps

' at the command line)

 

I knew adding the "help a brother out" line would be beneficial!.. LOL

I'm away from home at the moment, but that should help a bunch to narrow it down. Thanks for your help, and I'll post what I find.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.