Hello,

Emmanuel Seyman je napisao\/la:

> On Tue, Sep 17, 2002 at 01:10:34PM +0200, Vedran Ljubovic wrote:
> > 
> > 
> > after updating from RH 6.2 to RH 7.3 cron doesn't work anymore. crond
is
> > listed in processes, however the last entry in /var/log/cron is from
> > before the update. Restarting crond doesn't help, nor does it add new
> > entries to the log (even if it is chmod 777).
> 
> Is there any output to /var/log/messages when you restart crond?

No, last message there is from January.

Well this is a server that was previously administered by someone else.
The fact that /var/log/messages didn't work made me investigate a bit
more, so I figured I can change syslog.cong adding this line:
cron.*        /var/log/cron
After restarting syslogd /var/log/cron is working again. But notice that
cron logging worked fine before the update! 

So now here is what's happening: /var/log/cron shows this

Sep 18 03:01:00 server CROND[8790]: (root) CMD (run-parts
/etc/cron.hourly)
Sep 18 04:01:00 server CROND[12260]: (root) CMD (run-parts
/etc/cron.hourly)
Sep 18 04:02:00 server CROND[12461]: (root) CMD (run-parts
/etc/cron.daily)
Sep 18 04:02:00 server anacron[12465]: Updated timestamp for job
`cron.daily' to 2002-09-18
Sep 18 05:01:00 server CROND[14198]: (root) CMD (run-parts
/etc/cron.hourly)

However I'm sure that cron.daily is not executed. For instance, there is a
slocate.cron script in /etc/cron.daily, but /var/lib/slocate/slocate.db
has a timestamp "Sep 12 04:34" which is when I made the update.

--
Poslano preko SmartNet webmaila.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to