Odd message from cron daemon

Roland Smith rsmith at xs4all.nl
Sun Feb 27 18:21:33 GMT 2005


On Sun, Feb 27, 2005 at 06:44:16PM +0100, Anthony Atkielski wrote:
> Roland Smith writes:
> 
> > The save-entropy script is being run from cron. See /etc/crontab. The first
> > line of this script after the header begins with "# This". It looks like
> > the hash mark was removed, and the shell is trying to find the "This"
> > command and fails.
> 
> I checked both /usr/libexec/save-entropy and /etc/crontab.  The two
> files are identical on my production server and on my test server: same
> size, same contents, same modification date, etc.  However, this
> mysterious message is being mailed to me only on the test system.  I'm

Could it be that the cron output is mailed to someone else on the
production machine? It works OK on my 5.3 box, though. My system has
revision 1.2 of /usr/libexec/save-entropy, and it is 3073 bytes. Yours
should be the same, since the revision dates to Januari 2001.

Is there any difference between /usr/libexec/save-entropy and
/usr/src/libexec/save-entropy/save-entropy.sh ? They should be identical.

> somewhat bewildered.  I agree that it looks like a simple typo in a file
> somewhere, but the files are identical on both systems.
> 
> What else could be wrong?

Hmmm, disk or filesystem trouble maybe? I guess that would show in the
logfile. Maybe an fsck on /usr in single user mode helps?

Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050227/0b739af6/attachment.bin


More information about the freebsd-questions mailing list