I have started apache on a Linux Red Hat 6 server, running python3.3 and 
django1.7

There is also python 2.6.6 on the machine.  Red hat places that version 
their for administrative purposes and cannot be removed.

I am getting the following error log.

Can anyone give me insight into this error.

Is the error referring to an issue with 2.6.6 (reference the 2nd line in 
the log).
Or could the mod_wsgi be wrong?

Thanks in advance
*****************************

[Thu Nov 06 15:51:59 2014] [notice] Digest: done

[Thu Nov 06 15:51:59 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.4 
Python/2.6.6 configured -- resuming normal operations

[Thu Nov 06 15:53:30 2014] [error] housing.settings

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117] mod_wsgi 
(pid=23433): Target WSGI script '/tmp/housing_x/housing/wsgi.py' cannot be 
loaded as Python module.

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117] mod_wsgi 
(pid=23433): Exception occurred processing WSGI script 
'/tmp/housing_x/housing/wsgi.py'.

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117] Traceback (most 
recent call last):

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]   File 
"/tmp/housing_x/housing/wsgi.py", line 13, in <module>

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]     from 
django.core.wsgi import get_wsgi_application

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]   File 
"/opt/rh/python33/root/usr/lib/python3.3/site-packages/Django-1.7-py3.3.egg/django/core/wsgi.py",
 
line 2, in <module>

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]     from 
django.core.handlers.wsgi import WSGIHandler

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]   File 
"/opt/rh/python33/root/usr/lib/python3.3/site-packages/Django-1.7-py3.3.egg/django/core/handlers/wsgi.py",
 
line 11, in <module>

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]     from django 
import http

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]   File 
"/opt/rh/python33/root/usr/lib/python3.3/site-packages/Django-1.7-py3.3.egg/django/http/__init__.py",
 
line 2, in <module>

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]     from 
django.http.request import (HttpRequest, QueryDict,

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]   File 
"/opt/rh/python33/root/usr/lib/python3.3/site-packages/Django-1.7-py3.3.egg/django/http/request.py",
 
line 11, in <module>

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]     from 
django.conf import settings

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]   File 
"/opt/rh/python33/root/usr/lib/python3.3/site-packages/Django-1.7-py3.3.egg/django/conf/__init__.py",
 
line 9, in <module>

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117]     import 
importlib

[Thu Nov 06 15:53:30 2014] [error] [client 192.168.111.117] ImportError: No 
module named importlib

 

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

Reply via email to