烧瓶mod_wsgi下一个大小无效

时间:2019-01-04 00:49:45

标签: python python-3.x apache flask mod-wsgi

尝试从此tutorial使用mod_wsgi运行基本的Flask应用程序时收到以下错误。直接从__init__.py文件而不是从Apache运行时,该应用程序可以工作。

卷曲错误:

curl http://hostname:9080
curl: (52) Empty reply from server

Apache日志:

glibc detected /usr/sbin/httpd: free(): invalid next size (fast): 0x00007efc14a00c80

我正在使用RHEL 6,Apache 2.2.15,Python 3.7和mod_wsgi 4.6.5

Python和mod_wsgi似乎已从Apache启动日志中正确加载。

 Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_wsgi/4.6.5 Python/3.7 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations

并且mod_wsgi链接到预期的Python库。

ldd /usr/lib64/httpd/modules/mod_wsgi.so
    linux-vdso.so.1 =>  (0x00007fff018f0000)
    libpython3.7m.so.1.0 => /opt/lib/libpython3.7m.so.1.0 (0x00007fa56c49d000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa56c267000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fa56c063000)
    libutil.so.1 => /lib64/libutil.so.1 (0x00007fa56be60000)
    librt.so.1 => /lib64/librt.so.1 (0x00007fa56bc57000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fa56b9d3000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fa56b63f000)
    libcrypto.so.1.1 => /usr/local/lib64/libcrypto.so.1.1 (0x00007fa56b179000)
    /lib64/ld-linux-x86-64.so.2 (0x0000003539400000)

有什么想法吗?版本不兼容?

0 个答案:

没有答案