On 19/03/15 09:23, Graham Dumpleton wrote:
> By installing mod_wsgi-express it will confirm whether that
> separately works without upsetting your main Apache installation.

It fails:

"""
[jcea@babylon5 /]$ telnet 127.0.0.1 8888
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 500 Internal Server Error
Date: Thu, 19 Mar 2015 14:59:23 GMT
Server: Apache/2.4.12 (Unix) mod_wsgi/4.4.10 Python/3.4.3
Content-Length: 531
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
 [no address given] to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
Connection to 127.0.0.1 closed by foreign host.
"""

> If it doesn't work, then I will describe how to use 'truss' to track
> down the system call which is giving the invalid argument error. Am
> guessing it maybe writev() calls or equivalent.

You are right:

"""
[root@babylon5 /]# truss -p 6935 -p 6948 -p 6934 2>&1 | grep -i writev
6935/12:        writev(10, 0x08146010, 76)                      Err#22
EINVAL
6935/12:        writev(9, 0xFE155E30, 2)                        = 750
"""

> BTW, do you know if your Apache is using prefork, worker or event
> MPM. I don't think Solaris supports events MPM, so am hoping it is
> worker MPM as that will make debugging a little easier.

I am using MPM event. It works fine, and mod_wsgi 3.5 is working perfectly.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
[email protected] - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:[email protected]  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to