Hi All, I have no problem running Oracle 11g with django on build-in development server and everything is fine. But When I setup with mod_wsgi with Apache I'm getting messages like below. I'm using python 2.6 and installed cx_Oracle-5.0.2-11g.win32-py2.6.msi. ORACLE_HOME is set to "C:\app\Administrator\product\11.1.0\db_1". From python console I can do "import cx_Oracle" and it is also fine. Any kind of help is greatly appreciated.
Thanks so much, AM. [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] mod_wsgi (pid=2312): Exception occurred processing WSGI script 'C:/ django_projects/oracle/apache/django.wsgi'. [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] Traceback (most recent call last): [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 239, in __call__ [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] response = self.get_response(request) [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\site-packages\\django\\core\\handlers\\base.py", line 67, in get_response [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] response = middleware_method(request) [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\site-packages\\django\\contrib\\sessions\ \middleware.py", line 9, in process_request [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] engine = __import__(settings.SESSION_ENGINE, {}, {}, ['']) [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\site-packages\\django\\contrib\\sessions\\backends\ \db.py", line 2, in <module> [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] from django.contrib.sessions.models import Session [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\site-packages\\django\\contrib\\sessions\\models.py", line 4, in <module> [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] from django.db import models [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\site-packages\\django\\db\\__init__.py", line 16, in <module> [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] backend = __import__('%s%s.base' % (_import_path, settings.DATABASE_ENGINE), {}, {}, ['']) [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\site-packages\\django\\db\\backends\\oracle\\base.py", line 17, in <module> [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] raise ImproperlyConfigured("Error loading cx_Oracle module: %s" % e) [Wed Jul 29 14:39:05 2009] [error] [client 127.0.0.1] ImproperlyConfigured: Error loading cx_Oracle module: DLL load failed: The specified module could not be found. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---