Problems with Cron

perikillo perikillo at gmail.com
Tue Feb 28 23:10:11 PST 2006


  Hi people.

    I have 1 system running freebsd 5.4-p11, but since the first day
of use root start getting a emails from cron that say this:

Message 1:
>From root at samantha.MBX.local Tue Feb 28 23:10:06 2006
Date: Tue, 28 Feb 2006 23:10:01 -0800 (PST)
From: root at samantha.MBX.local (Cron Daemon)
To: root at samantha.MBX.local
Subject: Cron <root at samantha> 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 at samantha.MBX.local Tue Feb 28 23:11:06 2006
Date: Tue, 28 Feb 2006 23:11:00 -0800 (PST)
From: root at samantha.MBX.local (Cron Daemon)
To: root at samantha.MBX.local
Subject: Cron <root at samantha> operator /usr/libexec/save-entropy
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>

operator: not found

This is the file /etc/crontab:

# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#MAIL=root
#
#minute hour    mday    month   wday    who     command
#
*/5     *       *       *       *       root    /usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11    *       *       *       *       operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0       *       *       *       *       root    newsyslog
#
# Perform daily/weekly/monthly maintenance.
1       3       *       *       *       root    periodic daily
15      4       *       *       6       root    periodic weekly
30      5       1       *       *       root    periodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,31    0-5     *       *       *       root    adjkerntz -a

 I have been checking thi file but i still dont get it why is saying
that the users that supposes will run the job didnt exist, this is my
/etc/passwd:

samantha#vipw
# $FreeBSD: src/etc/master.passwd,v 1.39 2004/08/01 21:33:47 markm Exp $
root:$1$ycY0WzTj$e5ObqwAsCUgBFV9n05be9.:0:0::0:0:Charlie &:/root:/bin/csh
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5::0:0:System &:/:/usr/sbin/nologin
bin:*:3:7::0:0:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533::0:0:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533::0:0:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin
news:*:8:8::0:0:News Subsystem:/:/usr/sbin/nologin
man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
sshd:*:22:22::0:0:Secure Shell Daemon:/var/empty:/usr/sbin/nologin
smmsp:*:25:25::0:0:Sendmail Submission
User:/var/spool/clientmqueue:/usr/sbin/nologin
mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin
bind:*:53:53::0:0:Bind Sandbox:/:/usr/sbin/nologin
proxy:*:62:62::0:0:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin
_pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/usr/sbin/nologin
uucp:*:66:66::0:0:UUCP
pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6::0:0:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
klabaza:$1$Lz3s2.yR$.iU8SRhkrG/FXG0ZXGjlr/:1001:1001::0:0:User &
Moreno:/home/klabaza:/bin/tcsh
mysql:*:88:88::0:0:MySQL Daemon:/nonexistent:/sbin/nologin
bacula:*:910:910::0:0:Bacula Daemon:/var/db/bacula:/sbin/nologin
periko:$1$bH6i7s7L$7X3a.Bkg3N9yoYBFQAmI1.:1002:1002::0:0:User &
moreno:/home/periko:/bin/sh
karina:$1$0fY4adrB$LMEELuaeCoTQ.9S60b9yN0:1003:1003::0:0:karina
moreno:/home/karina:/bin/csh

   Some knows the reason of this emails...? This is not a production
system, but i receive a lot of emails each day, look right i just
write the mail and already have 2 mails:

samantha# mail -u root
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 2 messages 2 new
>N  1 root at samantha.MBX.lo  Tue Feb 28 23:15  23/895   "Cron
<root at samantha> root       /usr/libexec/atrun"
 N  2 root at samantha.MBX.lo  Tue Feb 28 23:20  23/895   "Cron
<root at samantha> root       /usr/libexec/atrun"
&

   Any info you have to fix this i wil apreciated, thanks all for your time.


More information about the freebsd-questions mailing list