[GTALUG] Apache fails after upgrade

William Witteman wwitteman at gmail.com
Wed Oct 7 10:03:27 EDT 2020


On Wed, 7 Oct 2020 at 09:44, Lennart Sorensen
<lsorense at csclub.uwaterloo.ca> wrote:
>
> On Tue, Oct 06, 2020 at 05:10:19PM -0400, William Witteman via talk wrote:
> > I recently upgraded my webserver, and now Apache isn't starting.  I
> > have made no changes to the configuration - the only other this that I
> > did was to install php-curl.
> >
> > My error is this:
> > [:crit] [pid 1574] (38)Function not implemented: AH00141: Could not
> > initialize random number generator

> It sounds like either your kernel or glibc are too old (or not configured)
> to support the getrandom system call.
>
> Was the apache built for a different release than you are running?

These are good thoughts - that's what makes this so weird, as I am
running standard Debian "testing", and I've got both /dev/random and
/dev/urandom.  I tried digging into the source of Apache to see if
there's a nuance to the call, but I don't know enough about Apache to
even find the error code (which I would have thought would be pretty
easy, but no.)

My temporary work-around has been to change my whole webserver, and
got nginx installed and configured for all of my domains, but it's a
very brute force approach, and took a couple of hours, as I don't
really know nginx.


More information about the talk mailing list