tanmng / docker-chevereto-free

Dockerfiles for various release of Chevereto Free
38 stars 26 forks source link

Could not initialize random number generator #36

Open srctar opened 2 years ago

srctar commented 2 years ago

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 commented 2 years ago

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).