cron error message

Support knowledgebase (maddin_cron5)
Applicable to
S.u.S.E. version: 5.0

Symptom:

The user root receives the following (or similar) error message whenever the script /root/bin/cron.daily is (automatically) run via crontab:
gzip: /tmp/packages.rpm-970705.gz: No such file or directory
gzip: /tmp/packages.rpm-970705.gz: No such file or directory
gzip: /tmp/packages.rpm-970705: No such file or directory
ERROR!! can not backup RPM Database to /var/adm/backup/rpmdb.
Maybe there is not enough disk space.

Cause:

The old crontab file /var/cron/tabs/root was not modified during the S.u.S.E. Linux update.

As of S.u.S.E. Linux 5.0, the system-dependent cron jobs are placed in the /etc/crontab file. Cron jobs that are found in both /etc/crontab and in an old crontab should be removed from the old crontab (e.g. cron.daily).

Solution:

Please start editing the crontab file with
crontab -e
and delete the line (that is, the entry) for
43 6 * * * root $HOME/bin/cron.daily
These error messages should then no longer occur.
Keywords: CRONTAB, ROOT, 5.0, RPMDB, CRON.DAILY, BACKUP, UPDATE

SDB-maddin_cron5, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 23. Jul 2002 13:39:42
SuSE Linux AG - Last generated: 23. Jul 2002 13:39:42 by Martin.Scherbaum (sdb_gen 1.40.0)