带有mod_wsgi的Apache24x86VC9说,“AH00419:master_main:create child process failed。“退出”而且不会

2024-09-29 23:26:39 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在我的Windows版Apache24上安装WSGI功能。当我试着开始我的服务时错误.log公司名称:

[Wed Dec 23 10:24:33.404057 2015] [ssl:warn] [pid 2960:tid 728] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

[Wed Dec 23 10:24:33.544690 2015] [ssl:warn] [pid 2960:tid 728] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

[Wed Dec 23 10:24:33.544690 2015] [wsgi:warn] [pid 2960:tid 728] mod_wsgi: Compiled for Python/2.7.10+.

[Wed Dec 23 10:24:33.544690 2015] [wsgi:warn] [pid 2960:tid 728] mod_wsgi: Runtime using Python/2.7.11.

[Wed Dec 23 10:24:33.544690 2015] [mpm_winnt:notice] [pid 2960:tid 728] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e mod_wsgi/4.4.21 Python/2.7.11 configured -- resuming normal operations

[Wed Dec 23 10:24:33.544690 2015] [mpm_winnt:notice] [pid 2960:tid 728] AH00456: Server built: Dec 9 2015 12:21:09

[Wed Dec 23 10:24:33.544690 2015] [core:notice] [pid 2960:tid 728] AH00094: Command line: 'C:\apache24\bin\httpd.exe -d C:/Apache24'

[Wed Dec 23 10:24:33.544690 2015] [mpm_winnt:notice] [pid 2960:tid 728] AH00418: Parent: Created child process 3112

[Wed Dec 23 10:24:34.091593 2015] [ssl:warn] [pid 3112:tid 656] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

[Wed Dec 23 10:24:34.216600 2015] [ssl:warn] [pid 3112:tid 656] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

[Wed Dec 23 10:24:34.216600 2015] [wsgi:warn] [pid 3112:tid 656] mod_wsgi: Compiled for Python/2.7.10+.

[Wed Dec 23 10:24:34.216600 2015] [wsgi:warn] [pid 3112:tid 656] mod_wsgi: Runtime using Python/2.7.11. ImportError: No module named site

[Wed Dec 23 10:24:34.216600 2015] [mpm_winnt:crit] [pid 2960:tid 728] AH00419: master_main: create child process failed. Exiting.

这是AH00419的错误,经过几天的研究,我无法弄清楚。在

所以,我们退后。以下是我在获取此错误之前所采取的步骤:

我抄了国防部_wsgi.so公司使用WinRAR从mod_wsgi-4.4.21+ap24vc9-cp27-none-win32.whl存档中取出文件。在

我把它复制到我的c:\Apache24\modules目录中

我在我的httpd.conf文件:“LoadModule wsgi_modules/mod_wsgi.so公司““

我的Python27是32位的

我的Apache24是32位的,是VC9版本

我安装了Visual C++ 2008(VC9)32位

如果我注释掉“LoadModule。。。wsgi”线。在

我不可能是唯一遇到这个问题的人,但我一直无法在网上找到解决办法。有人能帮忙吗?在


Tags: modlocalhostsslwsgiservernotcertificatepid
1条回答
网友
1楼 · 发布于 2024-09-29 23:26:39

我不知道你是否已经找到答案了,因为这个问题已经有两个多月了。不管怎样,我也面临着同样的问题。我使用了以下软件组合。在

Apace 2.4 VC9 32位自https://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC09 mod\uwsgi for Python 2.7 32位,来自http://www.apachelounge.com/viewtopic.php?t=5143

在安装apache并加载wsgi模块之后,我得到了以下错误。在

[Thu Mar 03 13:51:57.641443 2016] [ssl:warn] [pid 13892:tid 340] AH01909: localhost:600:0 server certificate does NOT include an ID which matches the server name

[Thu Mar 03 13:51:57.811445 2016] [ssl:warn] [pid 13892:tid 340] AH01909: localhost:600:0 server certificate does NOT include an ID which matches the server name

[Thu Mar 03 13:51:57.811445 2016] [:warn] [pid 13892:tid 340] mod_wsgi: Compiled for Python/2.7.

[Thu Mar 03 13:51:57.811445 2016] [:warn] [pid 13892:tid 340] mod_wsgi: Runtime using Python/2.7.11.

[Thu Mar 03 13:51:57.811445 2016] [mpm_winnt:notice] [pid 13892:tid 340] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2f mod_wsgi/3.4 Python/2.7.11 configured resuming normal operations

[Thu Mar 03 13:51:57.811445 2016] [mpm_winnt:notice] [pid 13892:tid 340] AH00456: Server built: Dec 9 2015 12:21:09

[Thu Mar 03 13:51:57.811445 2016] [core:notice] [pid 13892:tid 340] AH00094: Command line: 'Apache24\bin\httpd.exe -d E:/Program Files (x86)/Apache Software Foundation/Apache24'

[Thu Mar 03 13:51:57.821445 2016] [mpm_winnt:notice] [pid 13892:tid 340] AH00418: Parent: Created child process 13684

[Thu Mar 03 13:51:58.271449 2016] [ssl:warn] [pid 13684:tid 352] AH01909: localhost:600:0 server certificate does NOT include an ID which matches the server name

[Thu Mar 03 13:51:58.421451 2016] [ssl:warn] [pid 13684:tid 352] AH01909: localhost:600:0 server certificate does NOT include an ID which matches the server name

[Thu Mar 03 13:51:58.421451 2016] [:warn] [pid 13684:tid 352] mod_wsgi: Compiled for Python/2.7.

[Thu Mar 03 13:51:58.421451 2016] [:warn] [pid 13684:tid 352] mod_wsgi: Runtime using Python/2.7.11. ImportError: No module named site

[Thu Mar 03 13:51:58.431451 2016] [mpm_winnt:crit] [pid 13892:tid 340] AH00419: master_main: create child process failed. Exiting.

在那之后,我运行了“netsh winsock RESET”,它在其他论坛上被称为解决方案,但是没有重新启动计算机,尽管它提示我这么做。但这并没有改变局势。在

然后我在这里发现了下面的问题,这给了我一个线索,我可能缺少一些配置。在

Tool to upgrade current python installation

我在我的httpd.conf在

WSGIPythonPath "C:/Python33/Lib;C:/Python33/Lib/site-packages;C:/Python33/DLLs"
WSGIPythonHome "C:/Python33"

然后阿帕奇开始工作得很好。在

相关问题 更多 >

    热门问题