I have an Ubuntu 14.04 and I am trying to start cron service without success. I always get this after running service cron start
:
Job for cron.service failed because the control process exited with error code.
systemctl status cron.service
says that the cron service is loaded but failed:
cron.service
Loaded: loaded (/etc/init.d/cron; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-06-15 09:06:19 AWST; 6min ago
Docs: man:systemd-sysv-generator(8)
Process: 22707 ExecStart=/etc/init.d/cron start (code=exited, status=1/FAILURE)
cron[22707]: Rather than invoking init scripts through /etc/init.d, use the service(8)
cron[22707]: utility, e.g. service cron start
cron[22707]: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
cron[22707]: Since the script you are attempting to invoke has been converted to an
cron[22707]: Upstart job, you may also use the start(8) utility, e.g. start cron
cron[22707]: start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
systemd[1]: cron.service: Control process exited, code=exited status=1
systemd[1]: Failed to start cron.service.
systemd[1]: cron.service: Unit entered failed state.
systemd[1]: cron.service: Failed with result 'exit-code'.
Any hint on how to make cron service to successfully start?