sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #43971
cron gået i stå
Hej
På min redhat 7.1 vil cron ikke køre brugernes jobs. Hvis brugeren går
ind og ændrer med crontab -e kommer den fint i cron-loggen:
Nov 5 15:02:07 maskine crontab[28812]: (bruger) LIST (bruger)
Nov 5 15:04:07 maskine crontab[28813]: (bruger) BEGIN EDIT (bruger)
Nov 5 15:04:16 maskine crontab[28813]: (bruger) END EDIT (bruger)
Men det er alt hvad jeg har i /var/log/cron de sidste 3 uger og
programmerne køres ikke, fx:
[bruger@maskine ppstats-rc5-7.1-png]$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.28795 installed on Mon Nov 5 14:59:06 2001)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp
$)
30 * * * * /usr/bin/perl -w
/usr/src/ppstats-rc5-7.1-png/ppstats-rc5-7.1.pl
Scriptet kan køres fint manuelt af brugeren, så rettighederne er ok og
det er galt for alle brugere - root, der kører ntpdate via cron virker
heller ikke mere. Jeg har pastet overgangen (26. okt. 22:30) nedenfor -
da cron-loggen begyndte at ændre sig.
Kan jeg sætte liv i min cron igen?
/tommy
--------------------------------------------------------------------------------------
Oct 26 21:30:00 hogwarts CROND[22796]: (dnetc) CMD (perl -w
/usr/src/ppstats-rc5-7.1-png/ppstats-rc5-7.1.pl)
Oct 26 21:30:00 hogwarts CROND[22797]: (root) CMD (ntpdate -s <IP> >
/dev/null 2>&1)
Oct 26 21:40:00 hogwarts CROND[22804]: (root) CMD ( /sbin/rmmod -as)
Oct 26 21:50:00 hogwarts CROND[22806]: (root) CMD ( /sbin/rmmod -as)
Oct 26 22:00:00 hogwarts CROND[22808]: (root) CMD ( /sbin/rmmod -as)
Oct 26 22:01:00 hogwarts CROND[22811]: (root) CMD (run-parts
/etc/cron.hourly)
Oct 26 22:01:00 hogwarts CROND[22812]: (dnetc) CMD (perl -w
/usr/src/ppstats-rc5-7.1-png/ppstats-rc5-7.1.pl)
Oct 26 22:10:00 hogwarts CROND[22861]: (root) CMD ( /sbin/rmmod -as)
Oct 26 22:20:00 hogwarts CROND[22864]: (root) CMD ( /sbin/rmmod -as)
Oct 26 22:30:00 hogwarts CROND[22872]: (dnetc) CMD (perl -w
/usr/src/ppstats-rc5-7.1-png/ppstats-rc5-7.1.pl)
Oct 26 22:30:00 hogwarts CROND[22870]: (root) CMD ( /sbin/rmmod -as)
Oct 26 22:30:00 hogwarts CROND[22871]: (root) CMD (ntpdate -s <IP> >
/dev/null 2>&1)
Oct 27 10:13:21 hogwarts crontab[22941]: (root) BEGIN EDIT (root)
Oct 27 10:13:25 hogwarts crontab[22941]: (root) END EDIT (root)
Oct 27 10:14:50 hogwarts crontab[22945]: (root) BEGIN EDIT (root)
Oct 27 10:14:53 hogwarts crontab[22945]: (root) END EDIT (root)
Oct 27 10:22:56 hogwarts crontab[22989]: (root) BEGIN EDIT (root)
Oct 27 10:24:05 hogwarts crontab[22989]: (root) REPLACE (root)
Oct 27 10:24:05 hogwarts crontab[22989]: (root) END EDIT (root)
Oct 27 10:24:23 hogwarts crontab[22992]: (root) BEGIN EDIT (root)
Oct 27 10:24:31 hogwarts crontab[22992]: (root) REPLACE (root)
Oct 27 10:24:31 hogwarts crontab[22992]: (root) END EDIT (root)
Oct 27 10:24:33 hogwarts crontab[22994]: (root) BEGIN EDIT (root)
Follow ups