anacron (e.g., cron.daily) not working after upgrade to 15.04
Adam Funk
a24061 at ducksburg.com
Wed May 20 13:52:35 UTC 2015
On 2015-05-20, Colin Law wrote:
> 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.
Yes, I can see why that would cause trouble later...
> 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.
I'm pretty sure. The logs that are normally rotated daily haven't
been rotated this morning, & I didn't see any of the other stuff that
the cron.daily mail contains.
More information about the ubuntu-users
mailing list