Thursday, May 16, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 5399  / 2 Years ago, sat, january 8, 2022, 10:54:19

Many Apache commands, such as apache2 -v and apachectl graceful are failing with this message:


(38)Function not implemented: AH00141: Could not initialize random number generator


Searches online have suggested this could be caused by Chinese characters in the PATH; I don't see any characters except a-z and slash. Others have suggested missing /dev/random and /dev/urandom; both are present on my system.


If I run cat /proc/sys/kernel/random/entropy_avail, I get numbers between about 130 and 250. Is this too low? Could this have something to do with it?


Other possibilities?


Ubuntu 16.04.7 LTS

Apache 2.4.46


More From » apache2

 Answers
1

I solved it by downgrading libapr1 from 1.7.0 to 1.5.2. To make it work, I had to downgrade libaprutil1 (and two libaprutil1-*) from 1.6.1 to 1.5.4. I also had to stick with Apache 2.4.18.


[#1815] Sunday, January 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
enincroscope

Total Points: 252
Total Questions: 124
Total Answers: 104

Location: Tajikistan
Member since Thu, Apr 14, 2022
2 Years ago
enincroscope questions
Thu, Jan 20, 22, 08:33, 2 Years ago
Thu, Apr 7, 22, 01:09, 2 Years ago
Mon, May 16, 22, 09:08, 2 Years ago
;