Re: Trouble-shooting Cron Problems FreeBSD5.4



On Tuesday 31 October 2006 12:08, Martin McCormick wrote:
After building a new FreeBSD5.4 system, I have done
something bad to it.

When cron runs jobs in /etc/crontab as operator, it seems
as if that 6TH field in /etc/crontab is being interpreted as a
command rather than the user ID it is supposed to run under. I
keep getting messages like:

From: operator@xxxxxxxxxxxxxxxxx (Cron Daemon)
Subject: Cron <operator@system> root newsyslog


root: not found


Comparing this system with another properly-functioning
5.4 system has, as of yet, shown nothing unusual. If I become
root and manually run the job in question, it runs without a
complaint.

The crontab file on the problem system is an exact copy
of the crontab file on the working system. Both crons appear to
be running with the same flags as in

465 ?? Ss 3:24.39 /usr/sbin/cron -s

Any suggestions as to what I should look at next? Both
systems' crons are showing the same environments if I make them
run the env command. Many thanks.

Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
Martin,

Post the offending line or even all of /etc/crontab

lane
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Trouble-shooting Cron Problems FreeBSD5.4
    ... When cron runs jobs in /etc/crontab as operator, ... Subject: Cron root newsyslog ... The crontab file on the problem system is an exact copy ...
    (freebsd-questions)
  • [Fwd: OpenBase SQL multiple vulnerabilities Part Deux]
    ... # Writing to roots crontab seems to be fairly prompt at handing out root shells ... This ensures that cron is running when the fake root crontab is created. ... the OpenBase family of products have been enabling some of the most innovative business applications ...
    (Bugtraq)
  • Re: daily cron jobs: setting time of day, how?
    ... > Which cron daemon are you running? ... > Vixie cron - this runs jobs at the scheduled hour. ... > anacron - runs jobs within a period ...
    (alt.os.linux.suse)
  • Re: centralized cron
    ... >>hundreds of servers, each with their own cron jobs set up, and would ... Using ssh to run crontab ... You're talking about a "job scheduling" software package. ...
    (comp.unix.admin)
  • Re: centralized cron
    ... >>hundreds of servers, each with their own cron jobs set up, and would ... Using ssh to run crontab ... You're talking about a "job scheduling" software package. ...
    (comp.unix.questions)