Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2003 14:36:31 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Robert Small <robert@luftx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems with /usr/libexec/save-entropy
Message-ID:  <20031021133631.GB94995@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <200310210810.AA525402142@mail.luftx.net>
References:  <200310210810.AA525402142@mail.luftx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--oC1+HKm2/end4ao3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 21, 2003 at 08:10:55AM -0500, Robert Small wrote:
> Ok, I'm an idiot! I MUST have done something to my system yesterday. It's=
 been running fine, and around 3:00pm yesterday, I started receiving emails=
 from Cron "/usr/local/save-entropy" saying:
>=20
> *User: not found
>=20
> I've tried everything, and looking into everything. I've checked my maste=
r.passwd and group (compared 'em to /usr/src/etc).
>=20
> I've checked crontab (/etc/crontab), and root's crontab (empty). I've als=
o compared to another 5.1 (Release) box, and everhthing is the same. Could =
someone point me in the right direction?
>=20
> I'm running: 5.1 Current.=20
>=20
> I even did another update, build world, kernel and merge this morning, al=
l to no avail!
>=20
> The line in my crontab is:
>=20
> */11 * * * * operator /usr/libexec/save-entropy
>=20
> And when I try to run it from the command line I get:
>=20
> /etc# /usr/libexec/save-entropy=20
> *User: not found
>=20
> Any/all help would be appreciated.

Check /etc/rc.conf for errors -- mismatched quote marks, that sort of
thing.

Run /usr/libexec/save-entropy in trace mode (it is a shell script),
which should give you some idea of where and why it is blowing up:

    # sh -x /usr/libexec/save-entropy

I think you've probably covered this one already, but make sure you
have an 'operator' userid in /etc/master.passwd and an 'operator'
group similarly in /etc/group.

Run pwd_mkdb(8) to ensure that the db-format caches of the password
database and /etc/passwd are consistent with the master files:

    # pwd_mkdb -p

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--oC1+HKm2/end4ao3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD4DBQE/lTZfdtESqEQa7a0RAvXyAJ4niT+MxLl3OUuq8X87v9xN26ltpACYka+n
WCpax9Agk/hd9C0zbIyDqQ==
=WCTd
-----END PGP SIGNATURE-----

--oC1+HKm2/end4ao3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031021133631.GB94995>