Imtek
Verified User
We run CloudLinux and OpenVZ boxes, so it might be more than just CloudLinux.
RHEL 7.4 introduces the getrandom() system call, which combines the best of the existing interfaces
If you're on non-CL, are you running CentOS <7.4? APR might be selecting getrandom syscall even when it shouldn't:
Another guess - OpenVZ kernel has this issue, as CL relies on them too as far as I remember
Anyone with this issue on native CentOS kernel or Debian/FreeBSD? I guess none, but I'd like to be sure.
[root@cluster custombuild]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@cluster custombuild]# uname -a
Linux cluster.ikwright.com 2.6.32-042stab139.1 #1 SMP Tue Jun 18 12:51:14 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux
Quick fix for now:
Code:ln -sf /usr/lib/apache/libapr-1.so.0.6.5 /usr/lib/apache/libapr-1.so.0
Continuing to investigate.
Please try https://forum.directadmin.com/showthread.php?t=58602&p=300118#post300118. This should work for sure.
Quick fix for now:
Code:rm -f /usr/lib/apache/libapr-1.so.0.7.0 /usr/lib/apache/libapr-1.so.0 cd /usr/local/directadmin/custombuild perl -pi -e 's|apr:1.7.0:757239852b082b844e268a86f2806fd2|apr:1.6.5:|g' versions.txt ./build apache
Continuing to investigate.
Server loaded: APR 1.7.0, APR-UTIL 1.6.1
Compiled using: APR 1.7.0, APR-UTIL 1.6.1
httpd -V
Server version: Apache/2.4.41 (Unix)
Server built: Aug 15 2019 09:19:40
Server's Module Magic Number: 20120211:88
Server loaded: APR 1.7.0, APR-UTIL 1.6.1
Compiled using: APR 1.7.0, APR-UTIL 1.6.1
httpd -V
Server version: Apache/2.4.41 (Unix)
Server built: Aug 15 2019 08:50:37
Server's Module Magic Number: 20120211:88
Server loaded: APR 1.7.0, APR-UTIL 1.6.1
Compiled using: APR 1.7.0, APR-UTIL 1.6.1
Server loaded: APR 1.7.0, APR-UTIL 1.6.1
Compiled using: APR 1.7.0, APR-UTIL 1.6.1
Unfortunately, downgrading does not fix it.
I'm on a CentOS7 64 bit image, and even installing fresh causes the following issue with Apache/HTTPD:
====
[Thu Aug 15 05:26:14.994352 2019] [:crit] [pid 15388] (38)Function not implemented: AH00141: Could not initialize random number generator
====
No errors located in apache's error log, either.
Anyone else having this issue, or know of a fix?
Those are "direct linux commands" to upgrade from 2.4.6 to 2.4.41.