anacron (e.g., cron.daily) not working after upgrade to 15.04

Colin Law clanlaw at gmail.com
Wed May 20 10:36:41 UTC 2015


On 20 May 2015 at 09:04, Adam Funk <a24061 at ducksburg.com> wrote:
> Hi,
>
> Yesterday I upgraded two machines to 15.04, & this morning both of
> them have failed to run /etc/cron.daily jobs with this error e-mail:
>
> Subject: Cron <root at bunsen>   start -q anacron || :
>
> start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
>
> AFAICT from googling the error message, this seems to be caused by the
> switch from upstart to systemd, but I'm not sure how to fix it.  I see
> here [1] that it's possible just to switch back to upstart, but I
> wonder if that's a bad idea in the long term.  Otherwise, how do I get
> anacron working again?

I would not advise switching back unless absolutely necessary as then
you will be running a non-standard Ubuntu system.

Are you sure it actually failed, rather than generating a spurious
apparent error?  I seem to remember a bug about that, will have a
look.

Colin




More information about the ubuntu-users mailing list