Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Could not initialize random number generator #36

Open
srctar opened this issue May 30, 2022 · 1 comment
Open

Could not initialize random number generator #36

srctar opened this issue May 30, 2022 · 1 comment

Comments

@srctar
Copy link

srctar commented May 30, 2022

hi,
I download the image from https://registry.hub.docker.com/r/nmtan/chevereto/, by synology。

but when it run it , it told me "Function not implemented: AH00141: Could not initialize random number generator".

for seach, kenel is too low for this, my kenel:
# uname -a Linux 8a2225276daf 3.10.102 #15217 SMP Fri Nov 10 20:08:59 CST 2017 x86_64 GNU/Linux

is the question only for me ?

I exec the docker image, and purge apache2:
apt-get --purge remove apache2-utils
apt-get --purge remove apache2-bin
apt-get --purge remove apache2-data

the I install apache2 again, the same question become~

@tanmng
Copy link
Owner

tanmng commented Jun 1, 2022

Hello @srctar , thanks very much for your interest in Chevereto and the project.

You are correct with regard to the kernel. While the latest version of paid Chevereto - V4 - does support Nginx, earlier version supports exclusively Apache Web server. Chevereto Free (which is what running in this Docker image) is currently a fork of Chevereto V3 -> it also only support Apache Web server.

Since Apache web server 2, they have required Linux kernel version 3.16 and up.

This is actually quite a common problem for people running Docker on older Linux kernel. Because Docker allow you to pull applications and their dependencies except for the kernel, people will be pulling image (and application) that they kernel do not support and ran into this error, usually the application being Apache web server

Some examples

Your best option right now is to upgrade your box to use a more recent kernel version, or try to build a special version of the Docker image that use older version of Apache web server (not recommended since you will be subjecting your box to all sorts of security issues).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants