anacron dies and won't restart.

From: M_F_H (no_one_at_example.com)
Date: 03/27/04


Date: Sat, 27 Mar 2004 11:29:51 -0500

I'm running Red Hat 9.0 for days at a time, and use anacron for a
variety of tasks beyond what Red Hat sets up. Specifically, here is
what my /etc/anacrontab looks like:

  # /etc/anacrontab: configuration file for anacron
 

  # See anacron(8) and anacrontab(5) for details.
 

  SHELL=/bin/sh
  PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 

  1 65 cron.daily run-parts /etc/cron.daily
  7 70 cron.weekly run-parts /etc/cron.weekly
  30 75 cron.monthly run-parts /etc/cron.monthly
 

  1 10 archivemail-daily /usr/bin/archivemail -d7 /root/mbox
/home/mike/mbox
  1 30 Printer.Ink.Level /home/mike/bin/Epson.ink.level.sh
  1 30 backup-daily /home/mike/bin/backup.sh daily
 

  7 10 clamscan-weekly /home/mike/bin/clamscan.sh
  7 31 backup-weekly /home/mike/bin/backup.sh weekly ;
/home/mike/bin/apt-get.sh backup

The problem is that the first three items rums as expected, but the
rest of the entries run only once, then the anacron daemon dies. I
have no idea why it dies. When I restart it with:

/sbin/service anacron restart

I get an "OK" as expected. However, when I run

/sbin/service anacron status

I get this message:

anacron dead but subsys locked

Any ideas on what is going on?