From owner-freebsd-questions Thu Jan 20 17:36:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from io.dreamscape.com (io.dreamscape.com [206.64.128.6]) by hub.freebsd.org (Postfix) with ESMTP id B270514F2C for ; Thu, 20 Jan 2000 17:36:23 -0800 (PST) (envelope-from halstead@dreamscape.com) Received: from jameshal (sA19-p37.dreamscape.com [209.217.200.100]) by io.dreamscape.com (8.9.3/8.8.4) with SMTP id UAA14021 for ; Thu, 20 Jan 2000 20:36:01 -0500 (EST) X-Dreamscape-Track-A: sA19-p37.dreamscape.com [209.217.200.100] X-Dreamscape-Track-B: Thu, 20 Jan 2000 20:36:01 -0500 (EST) Message-ID: <016101bf63b0$4a2cb0e0$64c8d9d1@jameshal> From: "James Halstead" To: "questions @FreeBSD.org" Subject: crond Date: Thu, 20 Jan 2000 20:38:57 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_015E_01BF6386.6006F760" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_015E_01BF6386.6006F760 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have set up two servers using freebsd 3.4 to be essentially identical = machines. One of the two machines crond keeps sending error messages to = root everytime it tries to execute one of the crontab entries. I am = still somewhat of a newbie and I cannot make sense of the error message = "root: not found." What does it mean, the other machine (identical in = hardware and software setups) gives me no trouble. two of the messages: ------------------------------- From root Thu Jan 20 19:40:00 2000 Date: Thu, 20 Jan 2000 19:40:00 -0500 (EST) From: root (Cron Daemon) To: root Subject: Cron root /usr/libexec/atrun X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: root: not found=20 ------------------------------- From root Thu Jan 20 20:00:00 2000 Date: Thu, 20 Jan 2000 20:00:00 -0500 (EST) From: root (Cron Daemon) To: root Subject: Cron root newsyslog X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: root: not found ------------------------------- here is my /etc/crontab if it helps.: # /etc/crontab - root's crontab for FreeBSD # # $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29 14:18:39 peter Exp $ # SHELL=3D/bin/sh PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin HOME=3D/var/log # #minute hour mday month wday who command # */5 * * * * root /usr/libexec/atrun # # rotate log files every hour, if necessary 0 * * * * root newsyslog # # do daily/weekly/monthly maintenance #59 1 * * * root periodic daily 2>&1 | = sendmail root 30 3 * * 6 root periodic weekly 2>&1 | = sendmail root 30 5 1 * * root periodic monthly 2>&1 | = sendmail root # time zone change adjustment for wall cmos clock, # does nothing, if you have UTC cmos clock. # See adjkerntz(8) for details. ------------------------------- In another unrelated issue. I had some trouble with the servers having = hard crashes. I had the graphica bsd daemon screen saver running and on = a hunch disabled it. so far I have had no more crashes. is there any = known problems with the screensavers? Thanks for any help. :) ------=_NextPart_000_015E_01BF6386.6006F760 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have set = up two servers=20 using freebsd 3.4 to be essentially identical machines. One of the two = machines=20 crond keeps sending error messages to root everytime it tries to execute = one of=20 the crontab entries. I am still somewhat of a newbie and I cannot make = sense of=20 the error message "root: not found." What does it mean, the other = machine=20 (identical in hardware and software setups) gives me no=20 trouble.
 
two of the messages:
-------------------------------
From root Thu Jan 20 19:40:00 = 2000
Date: Thu, 20=20 Jan 2000 19:40:00 -0500 (EST)
From: root (Cron Daemon)
To:=20 root
Subject: Cron <root@djoan> root = /usr/libexec/atrun
X-Cron-Env:=20 <SHELL=3D/bin/sh>
X-Cron-Env:=20 <PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env:=20 <HOME=3D/root>
X-Cron-Env: = <LOGNAME=3Droot>
X-Cron-Env:=20 <USER=3Droot>
 
root: not found
-------------------------------
From root Thu Jan 20 20:00:00 = 2000
Date: Thu, 20=20 Jan 2000 20:00:00 -0500 (EST)
From: root (Cron Daemon)
To:=20 root
Subject: Cron <root@djoan> root newsyslog
X-Cron-Env:=20 <SHELL=3D/bin/sh>
X-Cron-Env:=20 <PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env:=20 <HOME=3D/root>
X-Cron-Env: = <LOGNAME=3Droot>
X-Cron-Env:=20 <USER=3Droot>
 
root: not found
-------------------------------
 
here is my /etc/crontab if it = helps.:
 
# /etc/crontab - root's crontab for=20 FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29 = 14:18:39 peter=20 Exp=20 $
#
SHELL=3D/bin/sh
PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbinHOME=3D/var/log
#
#minute=20 hour    mday    month  =20 wday    who    =20 command
#
*/5    =20 *       = *      =20 *       = *      =20 root    /usr/libexec/atrun
#
# rotate log files = every hour,=20 if necessary
0      =20 *       = *      =20 *       = *      =20 root    newsyslog
#
# do daily/weekly/monthly=20 maintenance
#59     =20 1       = *      =20 *       = *      =20 root    periodic daily 2>&1 | sendmail=20 root
30      = 3      =20 *       = *      =20 6       root    periodic = weekly=20 2>&1 | sendmail root
30     =20 5       = 1      =20 *       = *      =20 root    periodic monthly 2>&1 | sendmail root
# = time=20 zone change adjustment for wall cmos clock,
# does nothing, if you = have UTC=20 cmos clock.
# See adjkerntz(8) for details.
 
-------------------------------
 
In another unrelated issue. I had some = trouble with=20 the servers having hard crashes. I had the graphica bsd daemon = screen saver=20 running and on a hunch disabled it. so far I have had no more crashes. = is there=20 any known problems with the screensavers?
 
Thanks for any help.
 
:)
------=_NextPart_000_015E_01BF6386.6006F760-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message