Anacron run-parts: /etc/cron.daily/amavisd-new exited with return code 1

I’ve been getting messages like the ones below from cron my debian box for some time now. I finally got sick of seeing them and I tracked down the error.
/etc/cron.daily/amavisd-new:
Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1

At some point the debian package moved the cron config file from /etc/cron.daily/amavisd-new to /etc/cron.d/amavisd-new but for some reason when upgrading, it does not remove the old config file, leaving you with an erroneous file.
All you need to do is delete /etc/cron.daily/amavisd-new and the messages should go away.


Comments

3 responses to “Anacron run-parts: /etc/cron.daily/amavisd-new exited with return code 1”

  1. Same boat. Crossing fingers that your data is accurate. Thanks for root sourcing and blogging about it so that I didn’t have to. ๐Ÿ™‚

  2. Thank you! ๐Ÿ™‚

  3. btw: here is a bug report with more information:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671450

Leave a Reply

Your email address will not be published. Required fields are marked *