You are not logged in.

#1 2012-01-03 13:03:16

Venator85
Member
From: Italy
Registered: 2007-10-18
Posts: 62

[SOLVED] cronie reports "/usr/sbin/run-cron: No such file or directory

Hi, I just made a fresh install of Arch Linux x86_64 on my PC and I'm having troubles with cronie.
cronie emails say:

/bin/sh: /usr/sbin/run-cron: No such file or directory

In crond.log I have:

Jan  2 22:01:01 localhost /USR/SBIN/CROND[4691]: (root) CMD (run-parts /etc/cron.hourly)
Jan  2 22:47:56 localhost /usr/sbin/crond[5529]: (CRON) STARTUP (1.4.8)
Jan  2 22:47:56 localhost /usr/sbin/crond[5529]: (CRON) INFO (Syslog will be used instead of sendmail.): No such file or directory
Jan  2 22:47:56 localhost /usr/sbin/crond[5529]: (CRON) INFO (running with inotify support)
Jan  2 22:47:56 localhost /usr/sbin/crond[5529]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
Jan  2 23:00:01 localhost /USR/SBIN/CROND[5733]: (root) CMD (ID=sys-hourly   /usr/sbin/run-cron /etc/cron.hourly)
Jan  2 23:00:01 localhost /USR/SBIN/CROND[5732]: (root) CMDOUT (/bin/sh: /usr/sbin/run-cron: No such file or directory)
Jan  2 23:01:01 localhost /USR/SBIN/CROND[5748]: (root) CMD (run-parts /etc/cron.hourly)

I've changed very little of the configuration files provided with the package: root's crontab is completely empty, and cron.hourly only contains the original untouched 0anacron file.
I have the same basic setup on another machine and I don't have such errors.

Any hints?
Thanks

Last edited by Venator85 (2012-01-03 20:26:16)

Offline

#2 2012-01-03 13:21:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] cronie reports "/usr/sbin/run-cron: No such file or directory

[karol@black ~]$ nosr /usr/sbin/run-cron
extra/dcron
community/fcron

Seems that file is provided by other cron implementations.

Offline

#3 2012-01-03 13:39:47

Venator85
Member
From: Italy
Registered: 2007-10-18
Posts: 62

Re: [SOLVED] cronie reports "/usr/sbin/run-cron: No such file or directory

Yeah I know, but I have another machine with cronie and it doesn't have this issue.

Offline

#4 2012-01-03 20:25:25

Venator85
Member
From: Italy
Registered: 2007-10-18
Posts: 62

Re: [SOLVED] cronie reports "/usr/sbin/run-cron: No such file or directory

Solved. I accidentally restored from backup an old crontab in /var/spool/cron.

Offline

Board footer

Powered by FluxBB