From owner-freebsd-questions@FreeBSD.ORG Tue Oct 31 18:26:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ACB916A47B for ; Tue, 31 Oct 2006 18:26:55 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40F7143D99 for ; Tue, 31 Oct 2006 18:26:19 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-spurfowl.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GeyJW-0004d5-IN for freebsd-questions@freebsd.org; Tue, 31 Oct 2006 13:26:18 -0500 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id k9VIT56o086102 for ; Tue, 31 Oct 2006 12:29:05 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id k9VIT4n7086101 for freebsd-questions@freebsd.org; Tue, 31 Oct 2006 12:29:04 -0600 (CST) (envelope-from lane@joeandlane.com) From: Lane To: freebsd-questions@freebsd.org Date: Tue, 31 Oct 2006 13:29:04 -0500 User-Agent: KMail/1.9.3 References: <200610311808.k9VI8Zgb031668@dc.cis.okstate.edu> In-Reply-To: <200610311808.k9VI8Zgb031668@dc.cis.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610311229.04796.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec79093d1925a8a50ac3dce67169aa685656350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Subject: Re: Trouble-shooting Cron Problems FreeBSD5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 18:26:55 -0000 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@system.domainname (Cron Daemon) > Subject: Cron 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@freebsd.org mailing list Martin, Post the offending line or even all of /etc/crontab lane