Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 20:38:57 -0500
From:      "James Halstead" <halstead@dreamscape.com>
To:        "questions @FreeBSD.org" <freebsd-questions@FreeBSD.org>
Subject:   crond
Message-ID:  <016101bf63b0$4a2cb0e0$64c8d9d1@jameshal>

next in thread | raw e-mail | index | archive | help
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@djoan> root /usr/libexec/atrun
X-Cron-Env: <SHELL=3D/bin/sh>
X-Cron-Env: <PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=3D/root>
X-Cron-Env: <LOGNAME=3Droot>
X-Cron-Env: <USER=3Droot>

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@djoan> root newsyslog
X-Cron-Env: <SHELL=3D/bin/sh>
X-Cron-Env: <PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=3D/root>
X-Cron-Env: <LOGNAME=3Droot>
X-Cron-Env: <USER=3Droot>

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#f0f0f0>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>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.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial =
size=3D2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>two of the messages:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>-------------------------------</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>From root Thu Jan 20 19:40:00 =
2000<BR>Date: Thu, 20=20
Jan 2000 19:40:00 -0500 (EST)<BR>From: root (Cron Daemon)<BR>To:=20
root<BR>Subject: Cron &lt;root@djoan&gt; root =
/usr/libexec/atrun<BR>X-Cron-Env:=20
&lt;SHELL=3D/bin/sh&gt;<BR>X-Cron-Env:=20
&lt;PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin&gt;<BR>X-Cron-Env:=20
&lt;HOME=3D/root&gt;<BR>X-Cron-Env: =
&lt;LOGNAME=3Droot&gt;<BR>X-Cron-Env:=20
&lt;USER=3Droot&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>root: not found </FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>-------------------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>From root Thu Jan 20 20:00:00 =
2000<BR>Date: Thu, 20=20
Jan 2000 20:00:00 -0500 (EST)<BR>From: root (Cron Daemon)<BR>To:=20
root<BR>Subject: Cron &lt;root@djoan&gt; root newsyslog<BR>X-Cron-Env:=20
&lt;SHELL=3D/bin/sh&gt;<BR>X-Cron-Env:=20
&lt;PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin&gt;<BR>X-Cron-Env:=20
&lt;HOME=3D/root&gt;<BR>X-Cron-Env: =
&lt;LOGNAME=3Droot&gt;<BR>X-Cron-Env:=20
&lt;USER=3Droot&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>root: not found</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>-------------------------------</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>here is my /etc/crontab if it =
helps.:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2># /etc/crontab - root's crontab for=20
FreeBSD<BR>#<BR># $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29 =
14:18:39 peter=20
Exp=20
$<BR>#<BR>SHELL=3D/bin/sh<BR>PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin<BR=
>HOME=3D/var/log<BR>#<BR>#minute=20
hour&nbsp;&nbsp;&nbsp; mday&nbsp;&nbsp;&nbsp; month&nbsp;&nbsp;=20
wday&nbsp;&nbsp;&nbsp; who&nbsp;&nbsp;&nbsp;&nbsp;=20
command<BR>#<BR>*/5&nbsp;&nbsp;&nbsp;&nbsp;=20
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp; /usr/libexec/atrun<BR>#<BR># rotate log files =
every hour,=20
if necessary<BR>0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp; newsyslog<BR>#<BR># do daily/weekly/monthly=20
maintenance<BR>#59&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp; periodic daily 2&gt;&amp;1 | sendmail=20
root<BR>30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp; periodic =
weekly=20
2&gt;&amp;1 | sendmail root</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp; periodic monthly 2&gt;&amp;1 | sendmail root<BR># =
time=20
zone change adjustment for wall cmos clock,<BR># does nothing, if you =
have UTC=20
cmos clock.<BR># See adjkerntz(8) for details.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>-------------------------------</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In another unrelated issue. I had some =
trouble with=20
the servers&nbsp;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?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for any help.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>:)</FONT></DIV></BODY></HTML>

------=_NextPart_000_015E_01BF6386.6006F760--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016101bf63b0$4a2cb0e0$64c8d9d1>