I just tried to upgrade mod_wsgi from 3.5 to current 4.4.10. Apache 2.4.12, under Solaris 10.
Compilation is flawless. I didn't touch apache httpd.conf. Apache works
when making non-WSGI requests. But WSGI requests fail leaving this error
in the apache logs:
"""
[Thu Mar 19 04:00:58.428157 2015] [wsgi:error] [pid 25705:tid 4]
(22)Invalid argument: [client X.X.X.X:36924] mod_wsgi (pid=25705):
Unable to send request details to WSGI daemon process 'hs-XXX' on
'/usr/local/apache2/logs/wsgi.25691.0.3.sock'.
[Thu Mar 19 04:00:58.428382 2015] [wsgi:crit] [pid 25695:tid 13]
(70014)End of file found: mod_wsgi (pid=25695): Unable to read WSGI request.
"""
The file accessed is correct:
"""
srwx------ 1 apache root 0 Mar 19 03:14
/usr/local/apache2/logs/wsgi.25691.0.3.sock
"""
Checking every upgrade notes from 4.0 I see some very similar solved in
4.1.2 release. I am trying to use 4.4.10.
My configuration: (as is from wsgi 3.5)
"""
<VirtualHost *:28443>
ServerName hs-XXX.jcea.es
SSLEngine on
SSLCertificateFile /home/jcea/.SSL/host.cert
SSLCertificateKeyFile /home/jcea/.SSL/host.key
ErrorLog logs/hs-XXX_error.log
CustomLog logs/hs-XXX_access.log combinedSSL
WSGIDaemonProcess hs-XXX threads=10 display-name=%{GROUP}
python-path=/home/XXX/
WSGIProcessGroup hs-XXX
WSGIScriptAlias / /home/XXX/wsgi.py
<Directory "/home/XXXX">
AllowOverride None
AuthType Digest
AuthName "HS XXX"
AuthUserFile /home/XXXX/users
Require valid-user
</Directory>
</VirtualHost>
"""
I am back to 3.5 for now. Help!.
--
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.
signature.asc
Description: OpenPGP digital signature
