From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 18:21:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1064C16A4CE for ; Sun, 27 Feb 2005 18:21:33 +0000 (GMT) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5504E43D49 for ; Sun, 27 Feb 2005 18:21:32 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with ESMTP id j1RILVdQ073383 for ; Sun, 27 Feb 2005 19:21:31 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 91C18637E; Sun, 27 Feb 2005 19:21:35 +0100 (CET) Date: Sun, 27 Feb 2005 19:21:35 +0100 From: Roland Smith To: freebsd-questions@freebsd.org Message-ID: <20050227182135.GB44277@slackbox.xs4all.nl> Mail-Followup-To: freebsd-questions@freebsd.org References: <1244061749.20050227165831@wanadoo.fr> <20050227164906.GA44277@slackbox.xs4all.nl> <958577347.20050227184416@wanadoo.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline In-Reply-To: <958577347.20050227184416@wanadoo.fr> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Odd message from cron daemon X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 18:21:33 -0000 --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 27, 2005 at 06:44:16PM +0100, Anthony Atkielski wrote: > Roland Smith writes: >=20 > > The save-entropy script is being run from cron. See /etc/crontab. The f= irst > > 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. >=20 > 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. >=20 > 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 --=20 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 --U+BazGySraz5kW0T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCIg+vEnfvsMMhpyURAmkaAJ94wYJfjsui6vTOSVFSJ93zFjUOZwCdGd4x hUQntdLqGYyHTBGU8KiO8qQ= =okWB -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--