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].
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.