[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cron bzw. anacron-Fehler



Hallo,

ich bekomme seit 3 Tagen regelmäßig pro Tag folgende 2 Fehlermails vom Cron:

Cron <root@zeus> root	test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily

Inhalt:
/bin/sh: root: command not found
/etc/cron.daily/logrotate:
gzip: /var/log/apcupsd.events.1: No such file or directory
failed to compress log /var/log/apcupsd.events.1
run-parts: /etc/cron.daily/logrotate exited with return code 1
/etc/cron.daily/standard:
mv: cannot stat `./setuid.changes.1.gz': No such file or directory
diff: /var/log/setuid.new.tmp: No such file or directory


Cron <root@zeus> test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily

Inhalt:
/etc/cron.daily/standard:
chgrp: getting attributes of `setuid.changes.new': No such file or directory
chmod: getting attributes of `setuid.changes.new': No such file or directory
mv: cannot stat `setuid.changes.new': No such file or directory


Das Script standard unter cron.daily habe ich auch per Hand ausgeführt,
keine Fehler. An den Crontabs und den Scripten unter cron.XXX hab ich auch
nix geändert. Mein /var/log sieht so aus (gekürzt):

drwxr-xr-x    8 root     root         2800 Jun 16 07:56 .
drwxr-xr-x   15 root     root          344 May 22 10:08 ..
-rw-r--r--    1 root     root            0 Jun 16 06:25 apcupsd.events
-rw-r--r--    1 root     root           37 Jun 16 06:25 apcupsd.events.1.gz
-rw-r--r--    1 root     root           37 Jun 15 06:25 apcupsd.events.3.gz
-rw-r--r--    1 root     root           37 Jun 14 06:25 apcupsd.events.4.gz
-rw-r--r--    1 root     root           37 Jun 13 06:25 apcupsd.events.5.gz
-rw-r--r--    1 root     root           37 Jun 12 06:25 apcupsd.events.6.gz
-rw-r--r--    1 root     root           37 Jun 11 06:25 apcupsd.events.7.gz
-rw-r-----    1 root     adm           332 Jun 16 07:56 setuid.changes
-rw-r-----    1 root     adm       1582841 Jun 16 06:25 setuid.changes.0
-rw-r-----    1 root     adm         85231 Jun 16 06:25 setuid.changes.1.gz
-rw-r-----    1 root     adm           292 Jun 14 06:25 setuid.changes.2.gz
-rw-r-----    1 root     adm         54804 Jun 15 06:25 setuid.changes.3.gz
-rw-r-----    1 root     adm           444 Jun 12 06:25 setuid.changes.5.gz
-rw-r-----    1 root     adm           227 Jun 11 06:25 setuid.changes.6.gz
-rw-r-----    1 root     adm       1568195 Jun 16 07:56 setuid.today
-rw-r-----    1 root     adm       1568195 Jun 16 06:25 setuid.yesterday

Was verursacht den Fehler und wie kann ich's abstellen? Danke für Hinweise.

Ciao, Ralf



Reply to: