Linux Apache2.4 ah00141:could not initialize random number generator

Source: Internet
Author: User

Check the compilation and installation steps, if it is installed using the following method, please change a method, I have encountered this problem many times, because of this installation problem caused.

The method of the problem

Extract Apr apr-util, remove version number, copy to httpd-<version>/srclib/

./configure--prefix=/usr/local/apache2--enable-dav--enable-so--enable-mods-shared=all--WITH-EGD-- With-devrandom--enable-so--enable-cache=shared--enable-disk_cache=shared--enable-mem_cache=shared-- enable-proxy=shared--enable-proxy_connect=shared--enable-proxy_ftp=shared--enable-proxy_http=shared-- enable-file_cache=shared--enable-charset_lite=shared--enable-case_filter=shared--enable-case_filter_in=shared- -enable-ssl=shared--WITH-INCLUDED-APR

Make
Make install

An effective installation method

Install Apr
./configure--PREFIX=/USR/LOCAL/APR
Make
Make install

Installing Apr-util
./configure--prefix=/usr/local/apr-util--WITH-APR=/USR/LOCAL/APR
Make
Make install

Installing Apache
./configure--prefix=/usr/local/apache2--enable-dav--enable-so--enable-mods-shared=all--WITH-EGD-- With-devrandom--enable-so--enable-cache=shared--enable-disk_cache=shared--enable-mem_cache=shared-- enable-proxy=shared--enable-proxy_connect=shared--enable-proxy_ftp=shared--enable-proxy_http=shared-- enable-file_cache=shared--enable-charset_lite=shared--enable-case_filter=shared--enable-case_filter_in=shared- -enable-ssl=shared--WITH-APR=/USR/LOCAL/APR--with-apr-util=/usr/local/apr-util
Make
Make install

Not that the first method must have a problem, I have also encountered the first installation is available, if you are the first way to install the problem encountered, may wish to try the second method.

Linux Apache2.4 ah00141:could not initialize random number generator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.