Apache:无法初始化随机数生成器

Apache:无法初始化随机数生成器,apache,Apache,我真的很沮丧,我的apache服务器无法启动,我的错误日志如下: [Fri Jul 26 16:26:20.211050 2013] [core:notice] [pid 32240:tid 268] AH00094: Command line: 'c:\\users\\mrvisiont\\desktop\\xampp\\apache\\bin\\httpd.exe -d C:/Users/MrViSiOnT/Desktop/xampp/apache' [Fri Jul 26 16:26:20

我真的很沮丧,我的apache服务器无法启动,我的错误日志如下:

[Fri Jul 26 16:26:20.211050 2013] [core:notice] [pid 32240:tid 268] AH00094: Command line: 'c:\\users\\mrvisiont\\desktop\\xampp\\apache\\bin\\httpd.exe -d C:/Users/MrViSiOnT/Desktop/xampp/apache'
[Fri Jul 26 16:26:20.213050 2013] [mpm_winnt:notice] [pid 32240:tid 268] AH00418: Parent: Created child process 32112
[Fri Jul 26 16:26:20.225050 2013] [:crit] [pid 32112] (-2146173818)Unknown error: AH00141: Could not initialize random number generator
[Fri Jul 26 16:26:20.227051 2013] [mpm_winnt:crit] [pid 32240:tid 268] AH00419: master_main: create child process failed. Exiting.
我不知道“无法初始化随机数生成器”是什么意思

有人知道问题出在哪里吗

编辑:

运行httpd.exe时,error.log为:

    [Fri Jul 26 16:52:31 2013] [notice] Digest: generating secret for digest authentication ...
    [Fri Jul 26 16:52:31 2013] [notice] Digest: done
    [Fri Jul 26 16:52:31 2013] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 configured -- resuming normal operations
    [Fri Jul 26 16:52:31 2013] [notice] Server built: Sep 10 2011 11:34:11
    [Fri Jul 26 16:52:31 2013] [notice] Parent: Created child process 16760
    no listening sockets available, shutting down
    Unable to open logs
    [Fri Jul 26 16:52:31 2013] [crit] (OS 87)El parámetro no es correcto.  : master_main: create child process failed. Exiting.
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8e3:cc40:2151:c412 for ServerName
[Fri Jul 26 17:03:11 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Jul 26 17:03:11 2013] [notice] Digest: done
[Fri Jul 26 17:03:12 2013] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 configured -- resuming normal operations
[Fri Jul 26 17:03:12 2013] [notice] Server built: Sep 10 2011 11:34:11
[Fri Jul 26 17:03:12 2013] [notice] Parent: Created child process 13816
httpd.exe: apr_sockaddr_info_get() failed for MRVISIONT-PC
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
no listening sockets available, shutting down
Unable to open logs
[Fri Jul 26 17:03:12 2013] [crit] (OS 6)Controlador no válido.  : master_main: create child process failed. Exiting.
编辑(仅供参考):谢谢大家! 当我从httpd.conf注释ServerName行时。。。error.log是:

    [Fri Jul 26 16:52:31 2013] [notice] Digest: generating secret for digest authentication ...
    [Fri Jul 26 16:52:31 2013] [notice] Digest: done
    [Fri Jul 26 16:52:31 2013] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 configured -- resuming normal operations
    [Fri Jul 26 16:52:31 2013] [notice] Server built: Sep 10 2011 11:34:11
    [Fri Jul 26 16:52:31 2013] [notice] Parent: Created child process 16760
    no listening sockets available, shutting down
    Unable to open logs
    [Fri Jul 26 16:52:31 2013] [crit] (OS 87)El parámetro no es correcto.  : master_main: create child process failed. Exiting.
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::8e3:cc40:2151:c412 for ServerName
[Fri Jul 26 17:03:11 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Jul 26 17:03:11 2013] [notice] Digest: done
[Fri Jul 26 17:03:12 2013] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 configured -- resuming normal operations
[Fri Jul 26 17:03:12 2013] [notice] Server built: Sep 10 2011 11:34:11
[Fri Jul 26 17:03:12 2013] [notice] Parent: Created child process 13816
httpd.exe: apr_sockaddr_info_get() failed for MRVISIONT-PC
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
no listening sockets available, shutting down
Unable to open logs
[Fri Jul 26 17:03:12 2013] [crit] (OS 6)Controlador no válido.  : master_main: create child process failed. Exiting.

检查您的环境设置。其中可能有无效字符。看


除此之外:您似乎缺少日志目录。

在我最终偶然发现解决方案之前,我曾遇到过类似的问题,并解决了好几天:

确保系统的
路径
环境变量不包含非法字符,如“b


删除这些条目为我解决了问题。

我也遇到了类似的问题:

[:crit] [pid 7368] (-2146173818)Unknown error: AH00141: Could not initialize random number generator
我检查了系统的PATH环境变量,发现里面有中文符号。
因为我删除了它们,Apache工作得很好

我遇到了这个问题,并在此处发布了解决方案: