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
[-- Attachment #1 --] 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=/bin/sh> X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin> X-Cron-Env: <HOME=/root> X-Cron-Env: <LOGNAME=root> X-Cron-Env: <USER=root> root: not found ------------------------------- 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=/bin/sh> X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin> X-Cron-Env: <HOME=/root> X-Cron-Env: <LOGNAME=root> X-Cron-Env: <USER=root> 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=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin HOME=/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. :) [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2919.6307" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#f0f0f0> <DIV><FONT face=Arial size=2><FONT face=Arial size=2>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.</FONT></FONT></DIV> <DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT> </DIV> <DIV><FONT face=Arial size=2>two of the messages:</FONT></DIV> <DIV><FONT face=Arial size=2><FONT face=Arial size=2>-------------------------------</FONT></FONT></DIV> <DIV><FONT face=Arial size=2>From root Thu Jan 20 19:40:00 2000<BR>Date: Thu, 20 Jan 2000 19:40:00 -0500 (EST)<BR>From: root (Cron Daemon)<BR>To: root<BR>Subject: Cron <root@djoan> root /usr/libexec/atrun<BR>X-Cron-Env: <SHELL=/bin/sh><BR>X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin><BR>X-Cron-Env: <HOME=/root><BR>X-Cron-Env: <LOGNAME=root><BR>X-Cron-Env: <USER=root></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>root: not found </FONT></DIV> <DIV><FONT face=Arial size=2>-------------------------------</FONT></DIV> <DIV><FONT face=Arial size=2>From root Thu Jan 20 20:00:00 2000<BR>Date: Thu, 20 Jan 2000 20:00:00 -0500 (EST)<BR>From: root (Cron Daemon)<BR>To: root<BR>Subject: Cron <root@djoan> root newsyslog<BR>X-Cron-Env: <SHELL=/bin/sh><BR>X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin><BR>X-Cron-Env: <HOME=/root><BR>X-Cron-Env: <LOGNAME=root><BR>X-Cron-Env: <USER=root></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>root: not found</FONT></DIV> <DIV><FONT face=Arial size=2><FONT face=Arial size=2>-------------------------------</FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>here is my /etc/crontab if it helps.:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2># /etc/crontab - root's crontab for FreeBSD<BR>#<BR># $FreeBSD: src/etc/crontab,v 1.18.2.2 1999/08/29 14:18:39 peter Exp $<BR>#<BR>SHELL=/bin/sh<BR>PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin<BR>HOME=/var/log<BR>#<BR>#minute hour mday month wday who command<BR>#<BR>*/5 * * * * root /usr/libexec/atrun<BR>#<BR># rotate log files every hour, if necessary<BR>0 * * * * root newsyslog<BR>#<BR># do daily/weekly/monthly maintenance<BR>#59 1 * * * root periodic daily 2>&1 | sendmail root<BR>30 3 * * 6 root periodic weekly 2>&1 | sendmail root</FONT></DIV> <DIV><FONT face=Arial size=2>30 5 1 * * root periodic monthly 2>&1 | sendmail root<BR># time zone change adjustment for wall cmos clock,<BR># does nothing, if you have UTC cmos clock.<BR># See adjkerntz(8) for details.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2><FONT face=Arial size=2>-------------------------------</FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>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?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Thanks for any help.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>:)</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016101bf63b0$4a2cb0e0$64c8d9d1>
