[Fri Sep 29 14:46:35.808072 2017] [wsgi:info] [pid 35637] mod_wsgi (pid=35697): Process 'swpdoc' has died, deregister and restart it.
[Fri Sep 29 14:46:35.808113 2017] [wsgi:info] [pid 35637] mod_wsgi (pid=35697): Process 'swpdoc' terminated by signal 1
[Fri Sep 29 14:46:35.808116 2017] [wsgi:info] [pid 35637] mod_wsgi (pid=35697): Process 'swpdoc' has been deregister`enter code here`ed and will no longer be monitored.
[Fri Sep 29 14:46:35.808944 2017] [wsgi:info] [pid 35699] mod_wsgi (pid=35699): Starting process 'swpdoc' with uid=48, gid=48 and threads=15.
[Fri Sep 29 14:46:35.809868 2017] [wsgi:info] [pid 35699] mod_wsgi (pid=35699): Python home /var/www/swpdoc/venswpdoc.
[Fri Sep 29 14:46:35.809895 2017] [wsgi:info] [pid 35699] mod_wsgi (pid=35699): Initializing Python.
ImportError: No module named site
WSGIScriptAlias / /var/www/swpdoc/swpdocs/swpdoc/wsgi.py
<Directory /var/www/swpdoc/swpdocs/swpdoc>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess swpdoc python-home=/var/www/swpdoc/venswpdoc python-
path=/var/www/swpdoc/swpdocs
WSGIProcessGroup swpdoc
WSGIApplicationGroup %{GLOBAL}
[root@mrsblweb21548 modules]# ldd mod_wsgi.so
linux-vdso.so.1 => (0x00007ffdd95fe000)
libpython2.7.so.1.0 => /lib64/libpython2.7.so.1.0 (0x00007f1747989000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f174776d000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f1747568000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f1747365000)
libm.so.6 => /lib64/libm.so.6 (0x00007f1747063000)
libc.so.6 => /lib64/libc.so.6 (0x00007f1746ca0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1747f9d000)
If i use a project with django 1.9.5. it is working find and updating the django to newer version giving this error. Anyone help ?
Update: Changed permission on virtual environment directory and now getting permission errors: [Fri Sep 29 19:12:35.371053 2017] [wsgi:warn] [pid 33023] (13)Permission denied: mod_wsgi (pid=33023): Unable to stat Python home /var/www/swpdoc/venswpdoc. Python interpreter may not be able to be initialized correctly. Verify the supplied path and access permissions for whole of the path.
Usually caused by you trying to make mod_wsgi use a Python virtual environment for a different version of Python than mod_wsgi was compiled for.
Check what version of Python mod_wsgi is compiled for.
Indicate what version of Python your virtual environment was created against.