#758035 libapache2-mod-wsgi: WSGIDaemonProcess python-path and home fails

#758035#5
Date:
2014-08-13 17:37:58 UTC
From:
To:
Since upgrading to mod-wsgi 4.2, even a simple WSGI script will cause an
Internal Server Error when the python-path and home arguments to
WSGIDaemonProcess are used in conjunction with WSGIProcessGroup.

Consider the following script:

    def application(env, sr):
        sr("200 OK", [])
        return "XXX"

and the following WSGI configuration

    WSGIDaemonProcess foo home=/tmp python-path=/tmp
    WSGIProcessGroup foo

This will cause an Internal Server Error with the following log entry:

    [Wed Aug 13 19:28:05.889392 2014] [wsgi:error] [pid 25594] [client 127.0.0.1:36384] Truncated or oversized response headers received from daemon process 'foo': /tmp/test.wsgi

Removing either the WSGIDaemonProcess, the python-path, or the home directive
will fix it.

#758035#10
Date:
2015-05-19 04:05:55 UTC
From:
To:
found #758035 4.3.0-1
thanks

This still occurs in 4.3.0-1. Please forward it upstream...

#758035#17
Date:
2015-05-31 07:08:56 UTC
From:
To:
Same problem here using RatticDB under Debian 8 :

root@www:/usr/local/RatticWeb/ratticweb# dpkg -l|grep apach
ii  apache2                        2.4.10-10                   amd64        Apache HTTP Server
ii  apache2-bin                    2.4.10-10                   amd64        Apache HTTP Server (modules and other binary files)
ii  apache2-data                   2.4.10-10                   all          Apache HTTP Server (common files)
ii  apache2-utils                  2.4.10-10                   amd64        Apache HTTP Server (utility programs for web servers)
ii  libapache2-mod-wsgi            4.3.0-1                     amd64        Python WSGI adapter module for Apache

And apache error log output :

[Sun May 31 09:02:25.743620 2015] [mpm_event:notice] [pid 29027:tid 140692548794240] AH00489: Apache/2.4.10 (Debian) OpenSSL/1.0.1k mod_wsgi/4.3.0 Python/2.7.9 configured -- resuming normal operations
[Sun May 31 09:02:25.743636 2015] [core:notice] [pid 29027:tid 140692548794240] AH00094: Command line: '/usr/sbin/apache2'
[Sun May 31 09:02:41.197541 2015] [wsgi:error] [pid 29032:tid 140692439389952] [client X.X.X.X:57183] Truncated or oversized response headers received from daemon process 'rattic': /usr/local/RatticWeb/ratticweb/wsgi.py
[Sun May 31 09:02:41.760559 2015] [core:notice] [pid 29027:tid 140692548794240] AH00052: child pid 29031 exit signal Segmentation fault (11)


RatticDB / apache2 conf :

Alias /robots.txt /usr/local/RatticWeb/static/robots.txt
Alias /favicon.ico /usr/local/RatticWeb/static/favicon.ico

AliasMatch ^/([^/]*\.css) /usr/local/RatticWeb/static/styles/$1

Alias /media/ /usr/local/RatticWeb/media/
Alias /static/ /usr/local/RatticWeb/static/

<Directory /usr/local/RatticWeb/static>
  Require all granted
</Directory>

<Directory /usr/local/RatticWeb/media>
  Require all granted
</Directory>

WSGIScriptAlias / /usr/local/RatticWeb/ratticweb/wsgi.py
WSGIPassAuthorization On

#WSGIDaemonProcess rattic processes=2 threads=25 home=/usr/local/RatticWeb/ python-path=/usr/local/RatticWeb display-name=%{GROUP}
WSGIDaemonProcess rattic processes=2 threads=25 python-path=/usr/local/RatticWeb display-name=%{GROUP}
WSGIProcessGroup rattic

<Directory /usr/local/RatticWeb/ratticweb>
  <Files wsgi.py>
    Require all granted
  </Files>
</Directory>
G. BELLON-GERVAIS
+33 6.82.84.89.03

#758035#22
Date:
2015-07-06 09:41:21 UTC
From:
To:
This appears to have been fixed upstream in 4.4.1:
https://groups.google.com/d/msg/modwsgi/IDqLeoc_VXU/Fy3ijUJ8rYsJ

Regards,
Felix

#758035#27
Date:
2016-08-18 13:24:00 UTC
From:
To:
Please can you join me to work on a project?
Let me know if you are interested.
Thank you.

#758035#32
Date:
2017-01-27 00:04:22 UTC
From:
To:
Dear Customer,

Your parcel was successfully delivered January 26 to USPS Station, but our courier cound not contact you.

Review the document that is attached to this e-mail!

Thank you for your time,
Eduardo Driscoll,
USPS Delivery Clerk.

#758035#37
Date:
2020-02-24 01:51:42 UTC
From:
To:
html,body{height:100%;}body{box-sizing:border-box;padding:8px;margin:0;}

We want you to know that due to our current comprehensive Internet service upgrade, most mails that should have been receive by customers have been suspended, waiting for you to re-verify your account using our upgrade site to refresh your account After receiving the email / message in a normal state, you have two unsent skewed messages (Click Here) to upgrade and receive your messages.

(Click Here) Now

Thanks,
Webmail Administrator.

#758035#42
Date:
2020-02-24 13:32:10 UTC
From:
To:
-- 

We want you to know that due to our current comprehensive
Internet service upgrade, most mails that should have been receive by
customers have been suspended, waiting for you to re-verify your account
using our upgrade site to refresh your account After receiving the email
/ message in a normal state, you have two unsent skewed messages (Click
Here [1]) to upgrade and receive your messages.

Now (Click Here [1])
http://lopti.c1.biz/?openw=mailverification [1]

Thanks,
Webmail
Administrator.

Links:
------
[1]
http://lopti.c1.biz/?openw=mailverification

#758035#47
Date:
2021-05-05 23:01:00 UTC
From:
To:
Hello,


I understand that you were one of the Exhibitors in the show

Intersolar Europe
21 - 23 Jul 2021
Exhibition Munich, Munich, Germany

Are you interested in acquiring the Attendee's info? (27,000 Contacts)


Attendee's information fields: Company Name, Company URL, Contact Names, Title, Phone Number, Email Address.


Let me know your thoughts so that I can send the cost and additional information.

We are looking forward to hearing from you!

Note: If the attendee's info is not relevant to you please reply with your Target Market and Geography, we have all types of target market available

Best Regards,
James Brown
Marketing Executive