Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 11032 - Cron pretending to execute jobs
Cron pretending to execute jobs
Product: Red Hat Linux
Classification: Retired
Component: vixie-cron (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Crutcher Dunnavant
Depends On:
  Show dependency treegraph
Reported: 2000-04-25 09:43 EDT by rossigee
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-10 18:01:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description rossigee 2000-04-25 09:43:27 EDT
I noticed that all my scheduled jobs stopped working after upgrading my
gateway machine to RH61. As I only have a handful of non-critical jobs on
this machine, I've never worried about it too much.

Cron is running, and making log entries as expected, but when I check to
see that the job has been done - it hasn't. After restarting cron, it runs
each job once, then never again.

I upgraded to vixie-cron-3.0.1-40 (from 6.2), but nothing changed. Upgraded
again to vixie-cron-3.0.1-42 (Rawhide), and still it's broken.

Here's the problem:

[root@shiva log]# rpm -q vixie-cron
[root@shiva log]# ps aux | grep cron
root      9212  0.0  1.5  1516  712 ?        S    14:11   0:00 crond
[root@shiva log]# grep touch /etc/crontab
* * * * * root touch /tmp/check-crontab
[root@shiva log]# date
Tue Apr 25 14:18:33 BST 2000
[root@shiva log]# grep check-crontab /var/log/cron | tail -3
root (04/25-14:16:00-9740) CMD (touch /tmp/check-crontab)
root (04/25-14:17:00-9780) CMD (touch /tmp/check-crontab)
root (04/25-14:18:00-9806) CMD (touch /tmp/check-crontab)
[root@shiva log]# date
Tue Apr 25 14:36:24 BST 2000
[root@shiva log]# ls -l /tmp/check-crontab
-rw-rw-r--   1 root     root            0 Apr 25 14:12 /tmp/check-crontab
[root@shiva log]# /etc/rc.d/init.d/crond restart
Stopping cron daemon:                                      [  OK  ]
Starting cron daemon:                                      [  OK  ]
[root@shiva log]# date
Tue Apr 25 14:40:39 BST 2000
[root@shiva log]# ls -l /tmp/check-crontab
-rw-rw-r--   1 root     root            0 Apr 25 14:37 /tmp/check-crontab

I am also running nss_ldap and openldap on this machine (all else works
fine). No ORPHAN messages. I have other machines running the same
combination that work fine (hard to reproduce).

No zombie processes or anything, it just makes a log entry but then doesn't
do the job.

Any ideas what might be happening?
Comment 1 rossigee 2000-04-26 18:16:59 EDT
This has been resolved this now.

I upgraded all my stock RH61 packages on the machine to their RH62 equivalents,
so I am unable to determine exactly which component was the cause of the
problem, but at least it can be resolved by using a current release.

Note You need to log in before you can comment on or make changes to this bug.