What mod_wsgi version are you using? Ensure that LogLevel directive of Apache is set to 'info' and not 'err' or 'warn'.
With 'info' set, mod_wsgi will log whether daemon processes are being restarted and why. Also look in main Apache error log for any messages about segmentation faults. This will help in determining if is caused by daemon process crashing. Only other possibility is that you are indeed sending response headers with too long of a value. This can occur when using special HTTP authentication mechanisms. More recent mod_wsgi versions provide a way of overriding the default size that Apache allowed for response header size. Graham > On 26 Mar 2017, at 4:43 AM, Derek Cripps <[email protected]> wrote: > > apache2 -M > Loaded Modules: > core_module (static) > so_module (static) > watchdog_module (static) > http_module (static) > log_config_module (static) > logio_module (static) > version_module (static) > unixd_module (static) > access_compat_module (shared) > alias_module (shared) > auth_basic_module (shared) > authn_core_module (shared) > authn_file_module (shared) > authz_core_module (shared) > authz_host_module (shared) > authz_user_module (shared) > autoindex_module (shared) > deflate_module (shared) > dir_module (shared) > env_module (shared) > filter_module (shared) > mime_module (shared) > mpm_prefork_module (shared) > negotiation_module (shared) > rewrite_module (shared) > setenvif_module (shared) > socache_shmcb_module (shared) > ssl_module (shared) > status_module (shared) > wsgi_module (shared) > > > On Saturday, March 25, 2017 at 1:26:45 PM UTC-4, Derek Cripps wrote: > Tried again today, and found that this can be run using: python manage.py > runmodwsgi > So, I gave that a try and received the same error message. I believe this > would rule out the apache config file being the issue, but I could be wrong? > > Here is some additional information: > > ldd /usr/lib/apache2/modules/mod_wsgi.so > linux-vdso.so.1 => (0x00007fff862f9000) > libpython3.5m.so.1.0 => > /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0 (0x00007f8321c90000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 > (0x00007f8321a73000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f83216a9000) > libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 > (0x00007f8321480000) > libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8321266000) > libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8321061000) > libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 > (0x00007f8320e5e000) > libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8320b55000) > /lib64/ld-linux-x86-64.so.2 (0x000055f6db541000) > > > > > On Friday, March 24, 2017 at 8:20:45 PM UTC-4, Derek Cripps wrote: > Good afternoon, > > I have been dealing with this issue for a few weeks now, and am at a complete > loss. > > My django applications works perfectly using the Django web server, but I > cannot get it to run under Apache and WSGI. > > I have tried everything I can find including building multiple virtual > environments and using two different Ubuntu Servers. > > Please advise what steps I can take to work through the error, and what > information I can provide. > > Here is my Apache Config: > > Alias /static /home/development/django/ops/ops/opsproj/opsapp/static > <Directory /home/development/django/ops/ops/opsproj/opsapp/static> > Require all granted > </Directory> > > <Directory /home/development/django/ops/ops/opsproj/opsproj> > <Files wsgi.py> > Require all granted > </Files> > </Directory> > WSGIApplicationGroup %{GLOBAL} > WSGIDaemonProcess opsproj python-home=/home/development/django/env > python-path=/home/development/django/ops/ops/opsproj > WSGIProcessGroup opsproj > WSGIScriptAlias / > /home/development/django/ops/ops/opsproj/opsproj/wsgi.py > > > Thank you, > > Derek > > > > > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/modwsgi > <https://groups.google.com/group/modwsgi>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
